Ah, that's it! The done method works. I also just found it in the Oracle docs :-).
Thanks!
Just don't always believe Teach yourself Java in 21 days (a pretty decent book otherwise).
Type: Posts; User: evert67
Ah, that's it! The done method works. I also just found it in the Oracle docs :-).
Thanks!
Just don't always believe Teach yourself Java in 21 days (a pretty decent book otherwise).
I fire off the GUI as follows:
SwingUtilities.invokeLater(new Runnable() {
public void run() {
ViewController_Graphics view = new...
OK, I understand that classes or objects don't run on threads. I didn't express myself carefully enough. I'm teaching myself Java with two books: Teach yourself Java in 21 days (Cadenhead) and...
Thanks. But I don't understand this.
1) I'd like the user to be able to press a Cancel button before the worker threat has finished. The property change listener is only called after the worker...
In a previous question I asked how I could implement processor-intensive work, which was called by a Swing component, without the GUI locking up. I was then pointed to the SwingWorker class. I...