Re: What is the Event Dispatch Thread in Java?
Swing event handling code runs on a special thread known as the event dispatch thread. The swing methods which gets invoked by many codes also runs on this thread. EventDispatchThread is a package-private AWT class. The event dispatching thread (EDT) is a background thread used in Java to process events from the AWT. In single-thread rule swing components can be accessed by only one thread at a time. Mostly this thread is the event-dispatching thread. EventDispatchThread starts a "permanent" event pump with a call to pumpEvents in its run() method.
IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....
Bookmarks