Top "Event-dispatch-thread" questions

The event dispatch thread, or EDT, is a special background thread which handles events from the Java GUI event queue.

What does SwingUtilities.invokeLater do?

What does SwingUtilities.invokeLater do? Is it just delaying the execution of a block of codes inside its run method? …

java multithreading swing awt event-dispatch-thread
Swing: Change cursor to wait cursor

See also Java Swing GUI hour glass. However the provided answer does not seem to work. I have following code: …

java swing jframe event-dispatch-thread mouse-cursor
Java Event-Dispatching Thread explanation

I've recently started learning and exploring the basics of GUI programming in Java. Having been programming for a while I …

java swing awt event-dispatch-thread
SwingUtilities.invokeLater

My question is related to SwingUtilities.invokeLater. When should I use it? Do I have to use each time I …

java multithreading swing awt event-dispatch-thread
Make a swing thread that show a "Please Wait" JDialog

The problem is this: I've a swing application running, at a certain point a dialog requires to insert username and …

java multithreading swing event-dispatch-thread
Disable button on click before actionPerformed is completed java

I have a button doing a long function, I want to disable this button after the user once click on …

java swing jbutton actionlistener event-dispatch-thread
Usage of JavaFX Platform.runLater and access to UI from a different thread

I have a few questions about Platform.runLater. I have a JavaFX Application class. In this class I run a …

java multithreading javafx-2 event-dispatch-thread
Stop flickering in swing when i repaint too much

I am making an RPG with a tilemap. To generate the tilemap i loop through a 2 dimensional array but that …

java swing concurrency repaint event-dispatch-thread
Prevent Swing GUI locking up during a background task

I have a swing application which stores a list of objects. When the users clicks a button, I want to …

java multithreading swing swingworker event-dispatch-thread
Swing - Update Label

I have a message label and a submit button. The submit button will be pressed multiple times, and the action …

java swing event-dispatch-thread concurrency