public interface ProgressHandler
SwingTask.
An instance of a ProgressHandler may be obtained
from a SwingTask by calling SwingTask.getProgressHandler().
This ProgressHandler serves as a channel for informing
the SwingTask about progress changes. The SwingTask
will forward this information to its ProgressListeners on
the Event Dispatch Thread.
| Modifier and Type | Method and Description |
|---|---|
void |
setMessage(String message)
Set the given progress message
|
void |
setProgress(double progress)
Set the given progress.
|
void setMessage(String message)
message - The progress messagevoid setProgress(double progress)
progress - The progressCopyright © 2016. All rights reserved.