Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4538

Re: When the EDT is not t

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: When the EDT is not t
Message-ID <f7fmj4hog4gtnr2lae1137ahp39vpedrng@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <4934adef$0$18656$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
Date 2011-04-27 15:51 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Tue, 2 Dec 2008 14:39:28 +1100, "Qu0ll" <Qu0llSixFour@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>I am a bit confused about the AWT Event Dispatch Thread or EDT

The Swing EventDispatchThread thread is the thread that prods your
various listeners with events. It is sometimes called the EDT, Event
Dispatch Thread. Sometimes it is called simply the Swing thread, even
though it handles AWT as well and even though its Thread name is
AWT-EventQueue-0.

I suggest you use some of the tools to dump all threads,  display the
current thread etc to experiment and get the hang of how it works.

The main place you are sure you are on the Swing thread in is an event
handler.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
PM Steven Harper is fixated on the costs of implementing Kyoto, estimated as high as 1% of GDP.
However, he refuses to consider the costs of not implementing Kyoto which the
famous economist Nicholas Stern estimated at 5 to 20% of GDP

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

When the EDT is not the E "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
  Re: When the EDT is not t "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000

csiph-web