Constructs a graphic object that shows progress, typically by filling
in a rectangular bar as the process nears completion.
Parameters:
-
parentComponent - the parent component for the dialog box
-
message - a descriptive message that will be shown
to the user to indicate what operation is being monitored.
This does not change as the operation progresses.
See the message parameters to methods in
{@link JOptionPane#message}
for the range of values.
-
note - a short note describing the state of the
operation. As the operation progresses, you can call
setNote to change the note displayed. This is used,
for example, in operations that iterate through a
list of files to show the name of the file being processes.
If note is initially null, there will be no note line
in the dialog box and setNote will be ineffective
-
min - the lower bound of the range
-
max - the upper bound of the range
See Also:
JDialog
,
JOptionPane
,