| org.jdesktop.swingworker |
|
| Java Source File Name | Type | Comment |
| AccumulativeRunnable.java | Class | An abstract class to be used in the cases where we need
Runnable to perform some actions on an appendable set of data.
The set of data might be appended after the
Runnable is
sent for the execution. |
| SwingPropertyChangeSupport.java | Class | This subclass of
java.beans.PropertyChangeSupport is almost
identical in functionality. |
| SwingWorker.java | Class | An abstract class to perform lengthy GUI-interacting tasks in a
dedicated thread.
When writing a multi-threaded application using Swing, there are
two constraints to keep in mind:
(refer to
How to Use Threads
for more details):
- Time-consuming tasks should not be run on the Event
Dispatch Thread.
|