Results 1 to 3 of 3

Thread: Java Programming Problem!

  1. #1

    Question Java Programming Problem!

    Hi All,
    I'm working on a program I, and my problem is, I have a button attached to an ActionListener, now the ActionListener calls a method from another class and that method takes some considerable period of time, the thing is that the button gets stuck along with the GUI, I also need to change the content of a status bar from that class (The one containing the method) which is on the same class as the button...
    I tried to use Thread(s) but this didn't work or have I done it the wrong way!

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Posts
    1,027
    You probably have used threads the wrong way... which is by the way probably the only viable solution to your problem...

    The use of threads is a pretty extensive subject however, you are probably better of searching the web (java sites...) for explanations and examples...

    Ammo
    Credit travels up, blame travels down -- The Boss

  3. #3
    Hi mom!
    Join Date
    Aug 2001
    Posts
    1,103
    Try posting the code you're talking about.
    I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •