Saved Bookmarks
| 1. |
Why Would You Use Swingutilities.invokeandwait Or Swingutilities.invokelater? |
|
Answer» I WANT to update a SWING component but I’m not in a callback. If I want the update to happen immediately (perhaps for a progress BAR component) then I’d use INVOKEANDWAIT. If I don’t care when the update occurs, I’d use INVOKELATER. I want to update a Swing component but I’m not in a callback. If I want the update to happen immediately (perhaps for a progress bar component) then I’d use invokeAndWait. If I don’t care when the update occurs, I’d use invokeLater. |
|