public interface AsyncGUIJob
Cancellable
support.
Keep in mind that methods 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 | 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
construct()
method. |
void construct()
finished()
method.void finished()
construct()
method. Always called in event dispatch thread, after construct()
method completed its execution.Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.