Event Dispatching Thread

The event dispatching thread (EDT) is a background thread used in Java to process events from the Abstract Window Toolkit (AWT) graphical user interface event queue. These events are primarily update events that cause user interface components to redraw themselves, or input events from input devices such as the mouse or keyboard. The AWT uses a single-threaded painting model in which all screen updates must be performed from a single thread. The event dispatching thread is the only valid thread to update the visual state of visible user interface components. Updating visible components from other threads is the source of many common bugs in Java programs that use Swing.

Read more about Event Dispatching Thread:  Swing and Thread Safety, Executing Code in The EDT

Famous quotes containing the words event and/or thread:

    No event in American history is more misunderstood than the Vietnam War. It was misreported then, and it is misremembered now.
    Richard M. Nixon (b. 1913)

    We construct a narrative for ourselves, and that’s the thread that we follow from one day to the next. People who disintegrate as personalities are the ones who lose that thread.
    Paul Auster (b. 1947)