Aspects


vs


Home Page
About Us
Feedback

Invokeandwait

A method provided by the SwingUtilities class in Java that executes synchronously code on the AWT event dispatching thread in order to correctly manipulate UI elements.

Invokelater

A method provided by the SwingUtilities class in Java that executes asynchronously code on the AWT event dispatching thread in order to correctly manipulate UI elements.



Others

Example

You can use eventqueue.invokelater to switch to the swing thread and back greenfoot isn t designed to support this but it should work anyway -- invokelater is a better bet than invokeandwait

from question  

Greenfoot: Jfilechooser crashes program

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0