T - The result type of the SwingTaskpublic final class SwingTaskExecutor<T> extends Object
SwingTask. Instances of this class may be
created with the factory methods in the SwingTaskExecutors class.
It will take care of maintaining a SwingTaskView during the
execution of the SwingTask. Such a view may, for example, be
a dialog that is shown, updated and hidden according to the state
of the SwingTask and the timing configuration of this
executor.
public void execute()
SwingTask.
The calling thread will be blocked for a
specified decision delay.
Depending on the progress that is made in this time, a
SwingTaskView may be shown for the task. If this method was
called from the Event Dispatch Thread, this view may be modal and
thus allow a controlled blocking of the Event Dispatch Thread.
If a specified duration passes without any progress,
then the SwingTaskView will be shown in any case.
IllegalStateException - If the SwingTask is
already done.Copyright © 2016. All rights reserved.