July 13th, 2002, 06:25 PM
Java Programming Problem!
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!
July 13th, 2002, 06:41 PM
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...
Credit travels up, blame travels down -- The Boss
July 13th, 2002, 07:01 PM
Try posting the code you're talking about.
I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.