|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.design.gui.iprogressbar; |
|
|
|
package com.fr.design.gui.iprogressbar; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
|
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
import com.fr.general.FRFont; |
|
|
@ -17,7 +18,7 @@ import java.awt.Frame; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 加载进度弹窗 |
|
|
|
* 加载进度弹窗 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class ProgressDialog extends JDialog { |
|
|
|
public class ProgressDialog extends UIDialog { |
|
|
|
private JProgressBar progressBar; |
|
|
|
private JProgressBar progressBar; |
|
|
|
private JDialog centerDialog; |
|
|
|
private JDialog centerDialog; |
|
|
|
private JLabel text; |
|
|
|
private JLabel text; |
|
|
@ -55,6 +56,11 @@ public class ProgressDialog extends JDialog { |
|
|
|
centerDialog.getContentPane().add(panel); |
|
|
|
centerDialog.getContentPane().add(panel); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void checkValid() throws Exception { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setVisible(boolean b) { |
|
|
|
public void setVisible(boolean b) { |
|
|
|
centerDialog.setVisible(b); |
|
|
|
centerDialog.setVisible(b); |
|
|
|