Event dispatching thread: Difference between revisions

Content deleted Content added
Swing and thread safety: request for citation
Line 7:
| title=The Event Dispatch Thread
| publisher=[[Sun Microsystems]]
| accessdate=2010-03-19}}</ref><ref>http://weblogs.java.net/blog/alexfromsun/archive/2005/11/debugging_swing_1.html</ref>. To avoid these problems, Swing standards states<ref>where?</ref> that all [[Graphical user interface|user interface]] components should be created '''and''' accessed '''only''' from the AWT event dispatch thread. A popular third-party [[Pluggable look and feel|Look and Feel]] named [https://substance.dev.java.net/ Substance] goes as far as to refuse to instantiate any Swing component off of the Event Dispatch Thread<ref>http://www.pushing-pixels.org/?p=368</ref>, to hinder coders from making such a mistake.
 
== Executing code in the EDT ==