com.lowagie.rups.model
public class ProgressDialog extends JDialog
| Field Summary | |
|---|---|
| static JLabel | INFO the icon used for this dialog box. |
| protected JLabel | message label showing the message describing what's in progress. |
| protected JProgressBar | progress the progress bar |
| static long | serialVersionUID a serial version uid. |
| Constructor Summary | |
|---|---|
| ProgressDialog(JFrame parent, String msg)
Creates a Progress frame displaying a certain message
and a progress bar in indeterminate mode. | |
| Method Summary | |
|---|---|
| void | setMessage(String msg)
Changes the message describing what's in progress |
| void | setTotal(int n)
Sets the maximum value for the progress bar.
|
| void | setValue(int value)
Changes the value of the progress bar. |
Parameters: parent the parent frame of this dialog (used to position the dialog) msg the message that will be displayed.
Parameters: msg the message describing what's in progress
Parameters: n the maximum value for the progress bar
Parameters: value the current value