hiya guys,
At the moment I'm using thread sleep to pause the timer but this will also make the buttons unresponsive during the time the thread is asleep. Is there a simple way around this??? Any ideas will be much appreciated.
thank-you
Printable View
hiya guys,
At the moment I'm using thread sleep to pause the timer but this will also make the buttons unresponsive during the time the thread is asleep. Is there a simple way around this??? Any ideas will be much appreciated.
thank-you
If you're using Swing, you can have all your main GUI responses happen on the main Swing thread and process other commands/waits using a SwingUtility thread.
see: Concurency in Swing