Example usage for Java javax.swing SwingWorker fields, constructors, methods, implement or subclass
The text is from its open source code.
SwingWorker() Constructs this SwingWorker . |
void | addPropertyChangeListener(PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list. |
boolean | cancel(boolean mayInterruptIfRunning) |
void | execute() Schedules this SwingWorker for execution on a worker thread. |
T | get() Note: calling get on the Event Dispatch Thread blocks all events, including repaints, from being processed until this SwingWorker is complete. |
int | getProgress() Returns the progress bound property. |
PropertyChangeSupport | getPropertyChangeSupport() Returns the PropertyChangeSupport for this SwingWorker . |
boolean | isCancelled() |
boolean | isDone() |
void | run() Sets this Future to the result of computation unless it has been cancelled. |