Search:

Type: Posts; User: mdstrauss

Page 1 of 2 1 2

Search: Search took 0.84 seconds.

  1. Thread: what is the

    by mdstrauss
    Replies
    6
    Views
    4,900

    Re: what is the

    got it i know know what the problem was, i am so stupid when i compiled the
    PFrame the was two extra class files that where compiled that i deleted because i thought
    that they where some error...
  2. Thread: what is the

    by mdstrauss
    Replies
    6
    Views
    4,900

    Re: what is the

    ok here it is i changed a couple things and it worked a couple times
    do you think i should stop the thread (try finely block) or put an executor instead????
    ok here is the full code thanks allot i...
  3. Thread: what is the

    by mdstrauss
    Replies
    6
    Views
    4,900

    Re: what is the

    in my main frame (EDT) that has a listener (separate class) that uses the songGeter...
    the program compiles but when run it is wired sometimes it works some times it shows what i posted
    i maybe i...
  4. Thread: what is the

    by mdstrauss
    Replies
    6
    Views
    4,900

    what is the

    well i have a swing component that supposed to write strings on a jtextarea
    but i have a problem with tread that updates that string everything compiles but when used
    some Exception is thrown...
  5. updating EDT with thread swingworker/invokeLater ?

    i want to update my EDT what is better to use a swingworker OR a swingUtilites.invokeLater() method??

    will both update strings to a JTextArea instantly (separately) or will i have to wait for the...
  6. swingworker OR a swingUtilites.invokeLater()

    i want to update a list of strings so it will roll down the JTextArea...
    want to update my EDT ,what is better to use a swingworker OR a swingUtilites.invokeLater() method??

    will both update...
  7. updating EDT with thread swingworker/invokeLater ?

    i want to update my EDT what is better to use a swingworker OR a swingUtilites.invokeLater() method??

    will both update strings to a JTextArea instantly (separately) or will i have to wait for the...
  8. Re: help writeing to a jtextarea from a diffrent class

    thanks very much for the advice that was actually my first idea but i read some where
    that you should keep your listeners on a different class so you can develop them separately
    well i tell you if...
  9. Re: does not work

    still same thing but great advice thanks anyway...
    other advice???

    i think i well send the frame from PFrame class or put the listener under the class so i can yous <.this>
    any other ideas well...
  10. Re:here is the console error in the program

    i forgot to say that it does compile but when in the program when it gets to
    the lines in the listener that supposed to write to the jtexterea this is what
    the console throws .......


    ...
  11. help writeing to a jtextarea from a diffrent class

    so i have a frame with a jtextarea and i want to write to it from a separate class i (for example)
    try to write to it from the eventlistener here they are:

    import java.awt.*;
    import...
  12. Replies
    5
    Views
    1,913

    [SOLVED] Re: help with console input strnig....

    well thanks every one i found out the problem there was some how some space that got caught at the end of the input when the input stream ended so all i did is add a trim() method to the return from...
  13. Replies
    5
    Views
    1,913

    [SOLVED] Re: help with console input strnig....

    i don't think that the problem is with replacestring method because even if i change the if statement to
    if (seeIf. equals(inputS)) the same output is shown ..... but here it is ...



    import...
  14. Replies
    5
    Views
    1,913

    [SOLVED] help with console input strnig....

    i have a console input class that works on buff = new BufferedInputStream(System.in);
    it returns a string of the input ....
    now when i use it the string that comes back is in some way different ....
  15. Replies
    7
    Views
    3,911

    Re: way missing return statement???

    thank you very very much your write it dose not work it keeps open a strem even if my input is enter say what is a memory leak and well it happen no matter if i get a exception i'll check your advice...
  16. Replies
    7
    Views
    3,911

    Re: way missing return statement???

    ok i understood that if my program catch's a exception then there would be no return but way dose the program no recognize my sLine string it is still in the method ?????


    i checked all these...
  17. Replies
    7
    Views
    3,911

    Re: way missing return statement???

    i don't get it way do i need two of the returns one before the catch and one after
    way not put only one after the catch and way the second one is "return readLine()"
    and not "return sLine" ?

    ...
  18. Replies
    7
    Views
    3,911

    Re: way missing return statement??? qestion on anser

    thank you it works but i don't understand in method readLine i have all ready a return statement that returns string

    return sLine;

    way do i need the second return statement

    return...
  19. Replies
    7
    Views
    3,911

    Error of "Class has no return statement"

    i can't figure out way the compiler say's the class has no return statement .....



    import java.io.*;

    class ConsoleInput { // open class

    public static String readLine() { // open...
  20. Re: help with problem havr no idea what it means

    so can i run the program from a portble hard disk..?
  21. help with problem havr no idea what it means

    i have an arraylist of 7000 files that i send to an comparator if i send an array with 2000 everything works but over that ioexeptions are thrown and other things what is the problem no memory ??...
  22. Replies
    2
    Views
    2,279

    [SOLVED] Re: help with sorting...(comparator)

    never mind i got it my problem was that some of my objects that where in my arraylist where null so my comparator did not know what to do with them

    beginners mistakes .....sorry for the post i...
  23. Replies
    2
    Views
    2,279

    [SOLVED] help with sorting...(comparator)

    i have a arraylist of file objects and a class of Id3Tags that get from files a couple of strings
    i want to sort this list alphabeticly so i thought about two ways i think i can do
    the first is ...
  24. Replies
    8
    Views
    2,239

    Re: i need some advice ....

    both methods have a compareTo method in them that return 0,1,-1 can i build some other comparing system that returns the same ints ???
  25. Replies
    8
    Views
    2,239

    Re: i need some advice ....

    thank you very very much
    let me see if i understand the sort method forces the arraylist (that is a abstract of collection) to use the comparator or the Comparable interface to organize the objects...
Results 1 to 25 of 27
Page 1 of 2 1 2