public interface AsyncGUIJob
Cancellable
support.
Keep in mind that methods AsyncGUIJob.construct()
and
Cancellable.cancel()
can be called concurrently and
require proper synchronization as such.Utilities.attachInitJob(java.awt.Component, org.openide.util.AsyncGUIJob)
Modifier and Type | Method and Description |
---|---|
void |
construct()
Worker method, can be called in any thread but event dispatch thread.
|
void |
finished()
Method to update UI using given data constructed in
AsyncGUIJob.construct()
method. |
void construct()
AsyncGUIJob.finished()
method.void finished()
AsyncGUIJob.construct()
method. Always called in event dispatch thread, after AsyncGUIJob.construct()
method completed its execution.