Java javax.swing SwingWorker fields, constructors, methods, implement or subclass

Example usage for Java javax.swing SwingWorker fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing SwingWorker.

The text is from its open source code.

Subclass

javax.swing.SwingWorker has subclasses.
Click this link to see all its subclasses.

Constructor

SwingWorker()
Constructs this SwingWorker .

Method

voidaddPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list.
booleancancel(boolean mayInterruptIfRunning)
voidexecute()
Schedules this SwingWorker for execution on a worker thread.
Tget()

Note: calling get on the Event Dispatch Thread blocks all events, including repaints, from being processed until this SwingWorker is complete.

intgetProgress()
Returns the progress bound property.
PropertyChangeSupportgetPropertyChangeSupport()
Returns the PropertyChangeSupport for this SwingWorker .
booleanisCancelled()
booleanisDone()
voidrun()
Sets this Future to the result of computation unless it has been cancelled.