abstract: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.
Inmultiple-threadeddispatchingmodel, thethreadfetching theeventsfrom the queuelaunchesanotherthread called taskthread, and hand theevent over to itfor processing.