All IT and Non IT Interview Questions, MCQs, Online Quiz Questions, Engineering VIVA Questions
Home » Unlabelled » Why would you use SwingUtilities.invokeAndWait or SwingUtilities.invokeLater? | Java Swings
Sunday, 19 February 2012
Why would you use SwingUtilities.invokeAndWait or SwingUtilities.invokeLater? | Java Swings
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment