Abstract Window Toolkit: Difference between revisions

Content deleted Content added
m Disambiguating links to Deadlock (link changed to Deadlock (computer science)) using DisamAssist.
Line 25:
* The ability to launch some desktop applications such as [[web browser]]s and [[Mail client|email clients]] from a Java application.
 
Neither AWT nor Swing is inherently [[thread safety|thread safe]]. Therefore, code that updates the GUI or processes events should execute on the [[Event dispatching thread]]. Failure to do so may result in a [[Deadlock (computer science)|deadlock]] or race condition. To address this problem, a utility class called [[SwingWorker]] allows applications to perform time-consuming tasks following user-interaction events in the event dispatching thread.
 
== Mixing AWT and Swing components ==