59 |
|
|
60 |
/** Creates a new instance of ProgressDlg */ |
/** Creates a new instance of ProgressDlg */ |
61 |
public |
public |
62 |
ProgressDlg(Frame frm) { |
ProgressDlg() { |
63 |
super(frm, "", true); |
super(CC.getMainFrame(), "", true); |
64 |
|
|
65 |
pb.setIndeterminate(true); |
pb.setIndeterminate(true); |
66 |
//pb.setStringPainted(true); |
//pb.setStringPainted(true); |
93 |
setSize(d); |
setSize(d); |
94 |
setResizable(false); |
setResizable(false); |
95 |
|
|
96 |
setLocation(JuifeUtils.centerLocation(this, frm)); |
setLocation(JuifeUtils.centerLocation(this, CC.getMainFrame())); |
97 |
} |
} |
98 |
|
|
99 |
private void |
private void |
125 |
|
|
126 |
/** Starts to indicate that an operation is ongoing. */ |
/** Starts to indicate that an operation is ongoing. */ |
127 |
public void |
public void |
128 |
start() { setVisible(true); } |
start() { |
129 |
|
setLocation(JuifeUtils.centerLocation(this, CC.getMainFrame())); |
130 |
|
setVisible(true); |
131 |
|
} |
132 |
|
|
133 |
/** Stops the indication that an operation is ongoing. */ |
/** Stops the indication that an operation is ongoing. */ |
134 |
public void |
public void |