public class javax.swing.ProgressMonitor implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.ProgressMonitor
super_class: java.lang.Object
{
private javax.swing.ProgressMonitor root;
descriptor: Ljavax/swing/ProgressMonitor;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JDialog dialog;
descriptor: Ljavax/swing/JDialog;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JOptionPane pane;
descriptor: Ljavax/swing/JOptionPane;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JProgressBar myBar;
descriptor: Ljavax/swing/JProgressBar;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JLabel noteLabel;
descriptor: Ljavax/swing/JLabel;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component parentComponent;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.lang.String note;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object[] cancelOption;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object message;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private long T0;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int min;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int max;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected javax.accessibility.AccessibleContext accessibleContext;
descriptor: Ljavax/accessibility/AccessibleContext;
flags: (0x0004) ACC_PROTECTED
private javax.accessibility.AccessibleContext accessibleJOptionPane;
descriptor: Ljavax/accessibility/AccessibleContext;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.Component, java.lang.Object, java.lang.String, int, int);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iload 4
iload 5
aconst_null
invokespecial javax.swing.ProgressMonitor.<init>:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;IILjavax/swing/ProgressMonitor;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/ProgressMonitor;
0 2 1 parentComponent Ljava/awt/Component;
0 2 2 message Ljava/lang/Object;
0 2 3 note Ljava/lang/String;
0 2 4 min I
0 2 5 max I
MethodParameters:
Name Flags
parentComponent
message
note
min
max
private void <init>(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.ProgressMonitor);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;IILjavax/swing/ProgressMonitor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.cancelOption:[Ljava/lang/Object;
2: aload 0
sipush 500
putfield javax.swing.ProgressMonitor.millisToDecideToPopup:I
3: aload 0
sipush 2000
putfield javax.swing.ProgressMonitor.millisToPopup:I
4: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
5: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.accessibleJOptionPane:Ljavax/accessibility/AccessibleContext;
6: aload 0
iload 4
putfield javax.swing.ProgressMonitor.min:I
7: aload 0
iload 5
putfield javax.swing.ProgressMonitor.max:I
8: aload 0
aload 1
putfield javax.swing.ProgressMonitor.parentComponent:Ljava/awt/Component;
9: aload 0
iconst_1
anewarray java.lang.Object
putfield javax.swing.ProgressMonitor.cancelOption:[Ljava/lang/Object;
10: aload 0
getfield javax.swing.ProgressMonitor.cancelOption:[Ljava/lang/Object;
iconst_0
ldc "OptionPane.cancelButtonText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
11: aload 0
aload 2
putfield javax.swing.ProgressMonitor.message:Ljava/lang/Object;
12: aload 0
aload 3
putfield javax.swing.ProgressMonitor.note:Ljava/lang/String;
13: aload 6
ifnull 20
14: aload 0
aload 6
getfield javax.swing.ProgressMonitor.root:Ljavax/swing/ProgressMonitor;
ifnull 15
aload 6
getfield javax.swing.ProgressMonitor.root:Ljavax/swing/ProgressMonitor;
goto 16
StackMap locals: javax.swing.ProgressMonitor java.awt.Component java.lang.Object java.lang.String int int javax.swing.ProgressMonitor
StackMap stack: javax.swing.ProgressMonitor
15: aload 6
StackMap locals: javax.swing.ProgressMonitor java.awt.Component java.lang.Object java.lang.String int int javax.swing.ProgressMonitor
StackMap stack: javax.swing.ProgressMonitor javax.swing.ProgressMonitor
16: putfield javax.swing.ProgressMonitor.root:Ljavax/swing/ProgressMonitor;
17: aload 0
aload 0
getfield javax.swing.ProgressMonitor.root:Ljavax/swing/ProgressMonitor;
getfield javax.swing.ProgressMonitor.T0:J
putfield javax.swing.ProgressMonitor.T0:J
18: aload 0
aload 0
getfield javax.swing.ProgressMonitor.root:Ljavax/swing/ProgressMonitor;
getfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
putfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield javax.swing.ProgressMonitor.T0:J
21: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/ProgressMonitor;
0 22 1 parentComponent Ljava/awt/Component;
0 22 2 message Ljava/lang/Object;
0 22 3 note Ljava/lang/String;
0 22 4 min I
0 22 5 max I
0 22 6 group Ljavax/swing/ProgressMonitor;
MethodParameters:
Name Flags
parentComponent
message
note
min
max
group
public void setProgress(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.ProgressMonitor.max:I
if_icmplt 3
1: aload 0
invokevirtual javax.swing.ProgressMonitor.close:()V
2: goto 32
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
ifnull 6
4: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
iload 1
invokevirtual javax.swing.JProgressBar.setValue:(I)V
5: goto 32
6: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 7: lload 2
aload 0
getfield javax.swing.ProgressMonitor.T0:J
lsub
l2i
i2l
lstore 4
start local 4 8: lload 4
aload 0
getfield javax.swing.ProgressMonitor.millisToDecideToPopup:I
i2l
lcmp
iflt 32
9: iload 1
aload 0
getfield javax.swing.ProgressMonitor.min:I
if_icmple 16
10: lload 4
11: aload 0
getfield javax.swing.ProgressMonitor.max:I
aload 0
getfield javax.swing.ProgressMonitor.min:I
isub
i2l
12: lmul
13: iload 1
aload 0
getfield javax.swing.ProgressMonitor.min:I
isub
i2l
14: ldiv
l2i
istore 6
start local 6 15: goto 17
end local 6 16: StackMap locals: long long
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.millisToPopup:I
istore 6
start local 6 17: StackMap locals: int
StackMap stack:
iload 6
aload 0
getfield javax.swing.ProgressMonitor.millisToPopup:I
if_icmplt 32
18: aload 0
new javax.swing.JProgressBar
dup
invokespecial javax.swing.JProgressBar.<init>:()V
putfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
19: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
aload 0
getfield javax.swing.ProgressMonitor.min:I
invokevirtual javax.swing.JProgressBar.setMinimum:(I)V
20: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
aload 0
getfield javax.swing.ProgressMonitor.max:I
invokevirtual javax.swing.JProgressBar.setMaximum:(I)V
21: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
iload 1
invokevirtual javax.swing.JProgressBar.setValue:(I)V
22: aload 0
getfield javax.swing.ProgressMonitor.note:Ljava/lang/String;
ifnull 23
aload 0
new javax.swing.JLabel
dup
aload 0
getfield javax.swing.ProgressMonitor.note:Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
putfield javax.swing.ProgressMonitor.noteLabel:Ljavax/swing/JLabel;
23: StackMap locals:
StackMap stack:
aload 0
new javax.swing.ProgressMonitor$ProgressOptionPane
dup
aload 0
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield javax.swing.ProgressMonitor.message:Ljava/lang/Object;
aastore
dup
iconst_1
24: aload 0
getfield javax.swing.ProgressMonitor.noteLabel:Ljavax/swing/JLabel;
aastore
dup
iconst_2
25: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
aastore
invokespecial javax.swing.ProgressMonitor$ProgressOptionPane.<init>:(Ljavax/swing/ProgressMonitor;Ljava/lang/Object;)V
26: putfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
27: aload 0
aload 0
getfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
aload 0
getfield javax.swing.ProgressMonitor.parentComponent:Ljava/awt/Component;
28: ldc "ProgressMonitor.progressText"
29: invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
30: invokevirtual javax.swing.JOptionPane.createDialog:(Ljava/awt/Component;Ljava/lang/String;)Ljavax/swing/JDialog;
putfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
31: aload 0
getfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.show:()V
end local 6 end local 4 end local 2 32: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/swing/ProgressMonitor;
0 33 1 nv I
7 32 2 T J
8 32 4 dT J
15 16 6 predictedCompletionTime I
17 32 6 predictedCompletionTime I
MethodParameters:
Name Flags
nv
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
ifnull 6
1: aload 0
getfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
iconst_0
invokevirtual javax.swing.JDialog.setVisible:(Z)V
2: aload 0
getfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
invokevirtual javax.swing.JDialog.dispose:()V
3: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.dialog:Ljavax/swing/JDialog;
4: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
5: aload 0
aconst_null
putfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/ProgressMonitor;
public int getMinimum();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.min:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitor;
public void setMinimum(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
ifnull 2
1: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
iload 1
invokevirtual javax.swing.JProgressBar.setMinimum:(I)V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.ProgressMonitor.min:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ProgressMonitor;
0 4 1 m I
MethodParameters:
Name Flags
m
public int getMaximum();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.max:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitor;
public void setMaximum(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
ifnull 2
1: aload 0
getfield javax.swing.ProgressMonitor.myBar:Ljavax/swing/JProgressBar;
iload 1
invokevirtual javax.swing.JProgressBar.setMaximum:(I)V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.ProgressMonitor.max:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ProgressMonitor;
0 4 1 m I
MethodParameters:
Name Flags
m
public boolean isCanceled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
invokevirtual javax.swing.JOptionPane.getValue:()Ljava/lang/Object;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.cancelOption:[Ljava/lang/Object;
arraylength
iconst_1
if_icmpne 6
aload 1
aload 0
getfield javax.swing.ProgressMonitor.cancelOption:[Ljava/lang/Object;
iconst_0
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
6: StackMap locals:
StackMap stack:
aload 1
iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
7: iconst_0
ireturn
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/ProgressMonitor;
3 9 1 v Ljava/lang/Object;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.ProgressMonitor.millisToDecideToPopup:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/ProgressMonitor;
0 2 1 millisToDecideToPopup I
MethodParameters:
Name Flags
millisToDecideToPopup
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.millisToDecideToPopup:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitor;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.ProgressMonitor.millisToPopup:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/ProgressMonitor;
0 2 1 millisToPopup I
MethodParameters:
Name Flags
millisToPopup
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.millisToPopup:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitor;
public void setNote(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.ProgressMonitor.note:Ljava/lang/String;
1: aload 0
getfield javax.swing.ProgressMonitor.noteLabel:Ljavax/swing/JLabel;
ifnull 3
2: aload 0
getfield javax.swing.ProgressMonitor.noteLabel:Ljavax/swing/JLabel;
aload 1
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ProgressMonitor;
0 4 1 note Ljava/lang/String;
MethodParameters:
Name Flags
note
public java.lang.String getNote();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.note:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitor;
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.ProgressMonitor$AccessibleProgressMonitor
dup
aload 0
invokespecial javax.swing.ProgressMonitor$AccessibleProgressMonitor.<init>:(Ljavax/swing/ProgressMonitor;)V
putfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.pane:Ljavax/swing/JOptionPane;
ifnull 5
aload 0
getfield javax.swing.ProgressMonitor.accessibleJOptionPane:Ljavax/accessibility/AccessibleContext;
ifnonnull 5
3: aload 0
getfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
instanceof javax.swing.ProgressMonitor$AccessibleProgressMonitor
ifeq 5
4: aload 0
getfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
checkcast javax.swing.ProgressMonitor$AccessibleProgressMonitor
invokevirtual javax.swing.ProgressMonitor$AccessibleProgressMonitor.optionPaneCreated:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitor.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/ProgressMonitor;
}
SourceFile: "ProgressMonitor.java"
NestMembers:
javax.swing.ProgressMonitor$AccessibleProgressMonitor javax.swing.ProgressMonitor$ProgressOptionPane javax.swing.ProgressMonitor$ProgressOptionPane$1 javax.swing.ProgressMonitor$ProgressOptionPane$2
InnerClasses:
protected AccessibleProgressMonitor = javax.swing.ProgressMonitor$AccessibleProgressMonitor of javax.swing.ProgressMonitor
private ProgressOptionPane = javax.swing.ProgressMonitor$ProgressOptionPane of javax.swing.ProgressMonitor