Re: SwingWorker.execute() does nothing
- From: Thomas Kellerer <YQDHXVLMUBXG@xxxxxxxxxxxxx>
- Date: Wed, 08 Oct 2008 09:57:59 +0200
Ben Phillips, 08.10.2008 08:45:
I've got a strange app hang. A particular button click pops up a modal "Please Wait" dialog, then constructs a SwingWorker implementation and calls execute() on it. The done() method removes the dialog.When you call setVisible(true) on a modal dialog, your code will stop until the dialog is closed. So if you call SwingWorker.execute() after setVisible(true) the execute() will not be called until the dialog is closed.
Thomas
.
- Follow-Ups:
- Re: SwingWorker.execute() does nothing
- From: Ben Phillips
- Re: SwingWorker.execute() does nothing
- References:
- SwingWorker.execute() does nothing
- From: Ben Phillips
- SwingWorker.execute() does nothing
- Prev by Date: Re: Reading from COM port
- Next by Date: Re: Code server
- Previous by thread: Re: SwingWorker.execute() does nothing
- Next by thread: Re: SwingWorker.execute() does nothing
- Index(es):