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 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
construct()
method. |
void construct()
finished()
method.void finished()
construct()
method. Always called in event dispatch thread, after construct()
method completed its execution.Built on March 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.