Search:

Type: Posts; User: evert67

Search: Search took 0.12 seconds.

  1. Re: SwingWorker implemented - how to do additional GUI processing?

    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).
  2. Re: SwingWorker implemented - how to do additional GUI processing?

    I fire off the GUI as follows:



    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    ViewController_Graphics view = new...
  3. Re: SwingWorker implemented - how to do additional GUI processing?

    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...
  4. Re: SwingWorker implemented - how to do additional GUI processing?

    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...
  5. SwingWorker implemented - how to do additional GUI processing?

    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...
Results 1 to 5 of 5