org.netbeans.api.progress
Interface ProgressRunnable<T>
public interface ProgressRunnable<T>
Callable used by ProgressUtils.showProgressDialogAndRun to do background
work while a modal progress dialog is shown blocking all application windows.
- Since:
- 1.19
run
T run(ProgressHandle handle)
- Perform the background work
- Parameters:
handle
- A progress handle to post background work progress from.
The handle, when passed in, has had start() and setToIndeterminate() called.
- Returns:
- The result of the background computation