forked from fanruan/design
1 changed files with 0 additions and 39 deletions
@ -1,39 +0,0 @@ |
|||||||
package com.fr.design.gui.iprogressbar; |
|
||||||
|
|
||||||
import javax.swing.ProgressMonitor; |
|
||||||
import java.awt.Component; |
|
||||||
|
|
||||||
/** |
|
||||||
* Created by zack on 2018/6/20. |
|
||||||
*/ |
|
||||||
public class FRProgressMonitor extends ProgressMonitor { |
|
||||||
/** |
|
||||||
* Constructs a graphic object that shows progress, typically by filling |
|
||||||
* in a rectangular bar as the process nears completion. |
|
||||||
* |
|
||||||
* @param parentComponent the parent component for the dialog box |
|
||||||
* @param 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. |
|
||||||
* @param 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 |
|
||||||
* @param min the lower bound of the range |
|
||||||
* @param max the upper bound of the range |
|
||||||
* @see JDialog |
|
||||||
* @see JOptionPane |
|
||||||
*/ |
|
||||||
public FRProgressMonitor(Component parentComponent, Object message, String note, int min, int max) { |
|
||||||
super(parentComponent, message, note, min, max); |
|
||||||
} |
|
||||||
public void setUndecorated(){ |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue