Swing and Threads
[ Home ] [ Up ] [ Introduction ] [ Exceptions ] [ I/O, Files, and Streams ] [ Serialization ] [ Reflection ] [ Threads ] [ Swing and Threads ] [ Networking ] [ RMI ] [ JDBC ] [ Java Beans ] [ Servlets ] [ Java Server Pages ] [ Java and XML ]

 

The Problem
Update Swing Only From The EDT
Avoid Too Much Work in The EDT
Providing Visual Feedback
Using a Worker Thread
Using SwingWorker

 

Swing presents some particular problems relating to multi-threaded programs.

Since every Java GUI program is always multi-threaded, it's important to understand what these problems are, and how to circumvent them.

 

 
The page was last updated February 19, 2008