public class com.sun.java.swing.ui.StatusBar extends javax.swing.JPanel implements java.awt.event.ActionListener, java.awt.event.MouseListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.java.swing.ui.StatusBar
super_class: javax.swing.JPanel
{
private static final int PROGRESS_MAX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private static final int PROGRESS_MIN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private javax.swing.JLabel label;
descriptor: Ljavax/swing/JLabel;
flags: (0x0002) ACC_PRIVATE
private java.awt.Dimension preferredSize;
descriptor: Ljava/awt/Dimension;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JProgressBar progressBar;
descriptor: Ljavax/swing/JProgressBar;
flags: (0x0002) ACC_PRIVATE
private javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
private boolean forward;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static com.sun.java.swing.ui.StatusBar statusBar;
descriptor: Lcom/sun/java/swing/ui/StatusBar;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
new java.awt.FlowLayout
dup
iconst_0
invokespecial java.awt.FlowLayout.<init>:(I)V
invokevirtual com.sun.java.swing.ui.StatusBar.setLayout:(Ljava/awt/LayoutManager;)V
2: aload 0
invokestatic javax.swing.BorderFactory.createEtchedBorder:()Ljavax/swing/border/Border;
invokevirtual com.sun.java.swing.ui.StatusBar.setBorder:(Ljavax/swing/border/Border;)V
3: aload 0
new javax.swing.JProgressBar
dup
iconst_0
iconst_0
bipush 100
invokespecial javax.swing.JProgressBar.<init>:(III)V
putfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
4: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
new java.awt.Dimension
dup
bipush 60
aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
invokevirtual javax.swing.JProgressBar.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
iconst_2
iadd
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JProgressBar.setPreferredSize:(Ljava/awt/Dimension;)V
5: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iconst_0
invokevirtual javax.swing.JProgressBar.setVisible:(Z)V
6: aload 0
new javax.swing.JLabel
dup
ldc " "
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
putfield com.sun.java.swing.ui.StatusBar.label:Ljavax/swing/JLabel;
7: aload 0
new java.awt.Dimension
dup
aload 0
aload 0
getfield com.sun.java.swing.ui.StatusBar.label:Ljavax/swing/JLabel;
invokevirtual javax.swing.JLabel.getText:()Ljava/lang/String;
invokevirtual com.sun.java.swing.ui.StatusBar.getWidth:(Ljava/lang/String;)I
iconst_2
aload 0
invokevirtual com.sun.java.swing.ui.StatusBar.getFontHeight:()I
imul
invokespecial java.awt.Dimension.<init>:(II)V
putfield com.sun.java.swing.ui.StatusBar.preferredSize:Ljava/awt/Dimension;
8: aload 0
aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
invokevirtual com.sun.java.swing.ui.StatusBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
9: aload 0
aload 0
getfield com.sun.java.swing.ui.StatusBar.label:Ljavax/swing/JLabel;
invokevirtual com.sun.java.swing.ui.StatusBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/java/swing/ui/StatusBar;
public static com.sun.java.swing.ui.StatusBar getInstance();
descriptor: ()Lcom/sun/java/swing/ui/StatusBar;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.java.swing.ui.StatusBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
ifnonnull 2
1: new com.sun.java.swing.ui.StatusBar
dup
invokespecial com.sun.java.swing.ui.StatusBar.<init>:()V
putstatic com.sun.java.swing.ui.StatusBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
2: StackMap locals:
StackMap stack:
getstatic com.sun.java.swing.ui.StatusBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setInstance(com.sun.java.swing.ui.StatusBar);
descriptor: (Lcom/sun/java/swing/ui/StatusBar;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.java.swing.ui.StatusBar.statusBar:Lcom/sun/java/swing/ui/StatusBar;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 sb Lcom/sun/java/swing/ui/StatusBar;
MethodParameters:
Name Flags
sb
protected int getWidth(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.sun.java.swing.ui.StatusBar.getFont:()Ljava/awt/Font;
invokevirtual com.sun.java.swing.ui.StatusBar.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.awt.FontMetrics
StackMap stack:
aload 2
aload 1
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/ui/StatusBar;
0 4 1 s Ljava/lang/String;
1 4 2 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
s
protected int getFontHeight();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.sun.java.swing.ui.StatusBar.getFont:()Ljava/awt/Font;
invokevirtual com.sun.java.swing.ui.StatusBar.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.awt.FontMetrics
StackMap stack:
aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java/swing/ui/StatusBar;
1 4 1 fm Ljava/awt/FontMetrics;
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java.swing.ui.StatusBar.preferredSize:Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java/swing/ui/StatusBar;
public void setMessage(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
getfield com.sun.java.swing.ui.StatusBar.label:Ljavax/swing/JLabel;
aload 1
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.java.swing.ui.StatusBar.label:Ljavax/swing/JLabel;
invokevirtual javax.swing.JLabel.repaint:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java/swing/ui/StatusBar;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void startBusyBar();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.java.swing.ui.StatusBar.forward:Z
1: aload 0
getfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
ifnonnull 6
2: aload 0
ldc ""
invokevirtual com.sun.java.swing.ui.StatusBar.setMessage:(Ljava/lang/String;)V
3: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iconst_1
invokevirtual javax.swing.JProgressBar.setVisible:(Z)V
4: aload 0
new javax.swing.Timer
dup
bipush 15
aload 0
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
5: aload 0
getfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/java/swing/ui/StatusBar;
public void stopBusyBar();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
ifnull 3
1: aload 0
getfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
2: aload 0
aconst_null
putfield com.sun.java.swing.ui.StatusBar.timer:Ljavax/swing/Timer;
3: StackMap locals:
StackMap stack:
aload 0
ldc ""
invokevirtual com.sun.java.swing.ui.StatusBar.setMessage:(Ljava/lang/String;)V
4: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iconst_0
invokevirtual javax.swing.JProgressBar.setVisible:(Z)V
5: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iconst_0
invokevirtual javax.swing.JProgressBar.setValue:(I)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/java/swing/ui/StatusBar;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
invokevirtual javax.swing.JProgressBar.getValue:()I
istore 2
start local 2 1: aload 0
getfield com.sun.java.swing.ui.StatusBar.forward:Z
ifeq 8
2: iload 2
bipush 100
if_icmpge 5
3: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iload 2
iconst_1
iadd
invokevirtual javax.swing.JProgressBar.setValue:(I)V
4: goto 13
5: StackMap locals: int
StackMap stack:
aload 0
iconst_0
putfield com.sun.java.swing.ui.StatusBar.forward:Z
6: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iload 2
iconst_1
isub
invokevirtual javax.swing.JProgressBar.setValue:(I)V
7: goto 13
8: StackMap locals:
StackMap stack:
iload 2
ifle 11
9: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iload 2
iconst_1
isub
invokevirtual javax.swing.JProgressBar.setValue:(I)V
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.java.swing.ui.StatusBar.forward:Z
12: aload 0
getfield com.sun.java.swing.ui.StatusBar.progressBar:Ljavax/swing/JProgressBar;
iload 2
iconst_1
iadd
invokevirtual javax.swing.JProgressBar.setValue:(I)V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/java/swing/ui/StatusBar;
0 14 1 evt Ljava/awt/event/ActionEvent;
1 14 2 value I
MethodParameters:
Name Flags
evt
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java/swing/ui/StatusBar;
0 1 1 mouseevent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
mouseevent
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java/swing/ui/StatusBar;
0 1 1 mouseevent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
mouseevent
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java/swing/ui/StatusBar;
0 1 1 mouseevent Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
mouseevent
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc ""
invokevirtual com.sun.java.swing.ui.StatusBar.setMessage:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java/swing/ui/StatusBar;
0 2 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
instanceof javax.swing.AbstractButton
ifeq 6
1: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.AbstractButton
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.AbstractButton.getAction:()Ljavax/swing/Action;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
ldc "LongDescription"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 0
aload 4
invokevirtual com.sun.java.swing.ui.StatusBar.setMessage:(Ljava/lang/String;)V
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/java/swing/ui/StatusBar;
0 7 1 evt Ljava/awt/event/MouseEvent;
2 6 2 button Ljavax/swing/AbstractButton;
3 6 3 action Ljavax/swing/Action;
5 6 4 message Ljava/lang/String;
MethodParameters:
Name Flags
evt
}
SourceFile: "StatusBar.java"