public class sun.tools.jconsole.MaximizableInternalFrame extends javax.swing.JInternalFrame
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.MaximizableInternalFrame
super_class: javax.swing.JInternalFrame
{
private boolean isXP;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.JFrame mainFrame;
descriptor: Ljavax/swing/JFrame;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JMenuBar mainMenuBar;
descriptor: Ljavax/swing/JMenuBar;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mainTitle;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JComponent titlePane;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
private javax.swing.border.Border normalBorder;
descriptor: Ljavax/swing/border/Border;
flags: (0x0002) ACC_PRIVATE
private java.beans.PropertyChangeListener pcl;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x0002) ACC_PRIVATE
private static java.lang.Object WP_MINBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object WP_RESTOREBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object WP_CLOSEBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object WP_MDIMINBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object WP_MDIRESTOREBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object WP_MDICLOSEBUTTON;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.reflect.Method setButtonIcons;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
private java.lang.reflect.Method enableActions;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=0
0: getstatic sun.tools.jconsole.JConsole.IS_WIN:Z
ifeq 31
1: ldc "com.sun.java.swing.plaf.windows.TMSchema$Part"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
2: astore 0
start local 0 3: aload 0
ifnull 10
4: aload 0
ldc "WP_MINBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_MINBUTTON:Ljava/lang/Object;
5: aload 0
ldc "WP_RESTOREBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_RESTOREBUTTON:Ljava/lang/Object;
6: aload 0
ldc "WP_CLOSEBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_CLOSEBUTTON:Ljava/lang/Object;
7: aload 0
ldc "WP_MDIMINBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_MDIMINBUTTON:Ljava/lang/Object;
8: aload 0
ldc "WP_MDIRESTOREBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_MDIRESTOREBUTTON:Ljava/lang/Object;
9: aload 0
ldc "WP_MDICLOSEBUTTON"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
putstatic sun.tools.jconsole.MaximizableInternalFrame.WP_MDICLOSEBUTTON:Ljava/lang/Object;
10: StackMap locals: java.lang.Class
StackMap stack:
iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "maximize"
aastore
dup
iconst_1
ldc "minimize"
aastore
dup
iconst_2
11: ldc "iconify"
aastore
dup
iconst_3
ldc "close"
aastore
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 18
StackMap locals: java.lang.Class top int int java.lang.String[]
StackMap stack:
12: aload 4
iload 2
aaload
astore 1
start local 1 13: new java.lang.StringBuilder
dup
ldc "InternalFrame."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "Icon"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 14: aload 5
15: new sun.tools.jconsole.MaximizableInternalFrame$MDIButtonIcon
dup
aload 5
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
invokespecial sun.tools.jconsole.MaximizableInternalFrame$MDIButtonIcon.<init>:(Ljavax/swing/Icon;)V
16: invokestatic javax.swing.UIManager.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 1 17: iinc 2 1
StackMap locals:
StackMap stack:
18: iload 2
iload 3
if_icmplt 12
end local 0 19: goto 31
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
20: astore 0
start local 0 21: getstatic sun.tools.jconsole.JConsole.debug:Z
ifeq 31
22: aload 0
invokevirtual java.lang.ClassNotFoundException.printStackTrace:()V
end local 0 23: goto 31
24: StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
astore 0
start local 0 25: getstatic sun.tools.jconsole.JConsole.debug:Z
ifeq 31
26: aload 0
invokevirtual java.lang.NoSuchFieldException.printStackTrace:()V
end local 0 27: goto 31
28: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 0
start local 0 29: getstatic sun.tools.jconsole.JConsole.debug:Z
ifeq 31
30: aload 0
invokevirtual java.lang.IllegalAccessException.printStackTrace:()V
end local 0 31: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 19 0 Part Ljava/lang/Class<*>;
13 17 1 str Ljava/lang/String;
14 17 5 key Ljava/lang/String;
21 23 0 ex Ljava/lang/ClassNotFoundException;
25 27 0 ex Ljava/lang/NoSuchFieldException;
29 31 0 ex Ljava/lang/IllegalAccessException;
Exception table:
from to target type
1 19 20 Class java.lang.ClassNotFoundException
1 19 24 Class java.lang.NoSuchFieldException
1 19 28 Class java.lang.IllegalAccessException
public void <init>(java.lang.String, boolean, boolean, boolean, boolean);
descriptor: (Ljava/lang/String;ZZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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
iload 2
iload 3
iload 4
iload 5
invokespecial javax.swing.JInternalFrame.<init>:(Ljava/lang/String;ZZZZ)V
1: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.init:()V
2: 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 3 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
0 3 1 title Ljava/lang/String;
0 3 2 resizable Z
0 3 3 closable Z
0 3 4 maximizable Z
0 3 5 iconifiable Z
MethodParameters:
Name Flags
title
resizable
closable
maximizable
iconifiable
private void init();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getBorder:()Ljavax/swing/border/Border;
putfield sun.tools.jconsole.MaximizableInternalFrame.normalBorder:Ljavax/swing/border/Border;
1: aload 0
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.normalBorder:Ljavax/swing/border/Border;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "XPBorder"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
putfield sun.tools.jconsole.MaximizableInternalFrame.isXP:Z
2: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.isXP:Z
ifeq 9
3: aload 0
iconst_0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.setRootPaneCheckingEnabled:(Z)V
4: aload 0
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getUI:()Ljavax/swing/plaf/InternalFrameUI;
checkcast javax.swing.plaf.basic.BasicInternalFrameUI
invokevirtual javax.swing.plaf.basic.BasicInternalFrameUI.getNorthPane:()Ljavax/swing/JComponent;
putfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
5: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
ifnonnull 12
6: aload 0
new sun.tools.jconsole.MaximizableInternalFrame$1
dup
aload 0
invokespecial sun.tools.jconsole.MaximizableInternalFrame$1.<init>:(Lsun/tools/jconsole/MaximizableInternalFrame;)V
putfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
7: aload 0
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
8: goto 12
StackMap locals:
StackMap stack:
9: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
ifnull 12
10: aload 0
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
11: aload 0
aconst_null
putfield sun.tools.jconsole.MaximizableInternalFrame.pcl:Ljava/beans/PropertyChangeListener;
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
private void updateFrame();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.isXP:Z
ifeq 2
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getMainFrame:()Ljavax/swing/JFrame;
dup
astore 1
start local 1 1: ifnonnull 3
end local 1 2: StackMap locals:
StackMap stack:
return
start local 1 3: StackMap locals: javax.swing.JFrame
StackMap stack:
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getMainMenuBar:()Ljavax/swing/JMenuBar;
astore 2
start local 2 4: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getUI:()Ljavax/swing/plaf/InternalFrameUI;
checkcast javax.swing.plaf.basic.BasicInternalFrameUI
astore 3
start local 3 5: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.isMaximum:()Z
ifeq 26
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.isIcon:()Z
ifne 26
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.isClosed:()Z
ifne 26
6: aload 3
invokevirtual javax.swing.plaf.basic.BasicInternalFrameUI.getNorthPane:()Ljavax/swing/JComponent;
ifnull 42
7: aload 0
aload 1
invokevirtual javax.swing.JFrame.getTitle:()Ljava/lang/String;
putfield sun.tools.jconsole.MaximizableInternalFrame.mainTitle:Ljava/lang/String;
8: aload 1
new java.lang.StringBuilder
dup
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainTitle:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getTitle:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.swing.JFrame.setTitle:(Ljava/lang/String;)V
9: aload 2
ifnull 42
10: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.updateButtonStates:()V
11: aload 2
invokestatic javax.swing.Box.createGlue:()Ljava/awt/Component;
invokevirtual javax.swing.JMenuBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
12: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
invokevirtual javax.swing.JComponent.getComponents:()[Ljava/awt/Component;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 22
StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI top int int java.awt.Component[]
StackMap stack:
13: aload 7
iload 5
aaload
astore 4
start local 4 14: aload 4
instanceof javax.swing.JButton
ifeq 17
15: aload 2
aload 4
invokevirtual javax.swing.JMenuBar.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
16: goto 21
StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI java.awt.Component int int java.awt.Component[]
StackMap stack:
17: aload 4
instanceof javax.swing.JLabel
ifeq 21
18: aload 2
iconst_3
invokestatic javax.swing.Box.createHorizontalStrut:(I)Ljava/awt/Component;
iconst_0
invokevirtual javax.swing.JMenuBar.add:(Ljava/awt/Component;I)Ljava/awt/Component;
pop
19: aload 2
aload 4
iconst_1
invokevirtual javax.swing.JMenuBar.add:(Ljava/awt/Component;I)Ljava/awt/Component;
pop
20: aload 2
iconst_3
invokestatic javax.swing.Box.createHorizontalStrut:(I)Ljava/awt/Component;
iconst_2
invokevirtual javax.swing.JMenuBar.add:(Ljava/awt/Component;I)Ljava/awt/Component;
pop
end local 4 21: StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI top int int java.awt.Component[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
iload 6
if_icmplt 13
23: aload 3
aconst_null
invokevirtual javax.swing.plaf.basic.BasicInternalFrameUI.setNorthPane:(Ljavax/swing/JComponent;)V
24: aload 0
aconst_null
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.setBorder:(Ljavax/swing/border/Border;)V
25: goto 42
26: StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI
StackMap stack:
aload 3
invokevirtual javax.swing.plaf.basic.BasicInternalFrameUI.getNorthPane:()Ljavax/swing/JComponent;
ifnonnull 42
27: aload 1
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainTitle:Ljava/lang/String;
invokevirtual javax.swing.JFrame.setTitle:(Ljava/lang/String;)V
28: aload 2
ifnull 42
29: aload 2
invokevirtual javax.swing.JMenuBar.getComponents:()[Ljava/awt/Component;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 37
StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI top int int java.awt.Component[]
StackMap stack:
30: aload 7
iload 5
aaload
astore 4
start local 4 31: aload 4
instanceof javax.swing.JButton
ifne 32
aload 4
instanceof javax.swing.JLabel
ifeq 34
32: StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI java.awt.Component int int java.awt.Component[]
StackMap stack:
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
aload 4
invokevirtual javax.swing.JComponent.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
33: goto 36
StackMap locals:
StackMap stack:
34: aload 4
instanceof javax.swing.Box$Filler
ifeq 36
35: aload 2
aload 4
invokevirtual javax.swing.JMenuBar.remove:(Ljava/awt/Component;)V
end local 4 36: StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI top int int java.awt.Component[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
37: iload 5
iload 6
if_icmplt 30
38: aload 2
invokevirtual javax.swing.JMenuBar.repaint:()V
39: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.updateButtonStates:()V
40: aload 3
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
invokevirtual javax.swing.plaf.basic.BasicInternalFrameUI.setNorthPane:(Ljavax/swing/JComponent;)V
41: aload 0
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.normalBorder:Ljavax/swing/border/Border;
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.setBorder:(Ljavax/swing/border/Border;)V
42: StackMap locals: sun.tools.jconsole.MaximizableInternalFrame javax.swing.JFrame javax.swing.JMenuBar javax.swing.plaf.basic.BasicInternalFrameUI
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
1 2 1 mainFrame Ljavax/swing/JFrame;
3 43 1 mainFrame Ljavax/swing/JFrame;
4 43 2 menuBar Ljavax/swing/JMenuBar;
5 43 3 ui Ljavax/swing/plaf/basic/BasicInternalFrameUI;
14 21 4 c Ljava/awt/Component;
31 36 4 c Ljava/awt/Component;
public void updateUI();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.isXP:Z
ifeq 1
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getBorder:()Ljavax/swing/border/Border;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifeq 7
4: aload 0
iconst_0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.setMaximum:(Z)V
5: goto 7
StackMap locals: sun.tools.jconsole.MaximizableInternalFrame int
StackMap stack: java.beans.PropertyVetoException
6: pop
7: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JInternalFrame.updateUI:()V
8: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.init:()V
9: iload 1
ifeq 13
10: aload 0
iconst_1
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.setMaximum:(Z)V
11: goto 13
StackMap locals:
StackMap stack: java.beans.PropertyVetoException
12: pop
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
3 14 1 isMax Z
Exception table:
from to target type
4 5 6 Class java.beans.PropertyVetoException
10 11 12 Class java.beans.PropertyVetoException
private javax.swing.JFrame getMainFrame();
descriptor: ()Ljavax/swing/JFrame;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainFrame:Ljavax/swing/JFrame;
ifnonnull 4
1: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getDesktopPane:()Ljavax/swing/JDesktopPane;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 0
aload 1
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
checkcast javax.swing.JFrame
putfield sun.tools.jconsole.MaximizableInternalFrame.mainFrame:Ljavax/swing/JFrame;
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainFrame:Ljavax/swing/JFrame;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
2 4 1 desktop Ljavax/swing/JDesktopPane;
private javax.swing.JMenuBar getMainMenuBar();
descriptor: ()Ljavax/swing/JMenuBar;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
ifnonnull 9
1: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getMainFrame:()Ljavax/swing/JFrame;
astore 1
start local 1 2: aload 1
ifnull 9
3: aload 0
aload 1
invokevirtual javax.swing.JFrame.getJMenuBar:()Ljavax/swing/JMenuBar;
putfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
4: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
ifnull 9
5: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
invokevirtual javax.swing.JMenuBar.getLayout:()Ljava/awt/LayoutManager;
instanceof sun.tools.jconsole.MaximizableInternalFrame$FixedMenuBarLayout
ifne 9
6: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
new sun.tools.jconsole.MaximizableInternalFrame$FixedMenuBarLayout
dup
aload 0
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
7: iconst_0
invokespecial sun.tools.jconsole.MaximizableInternalFrame$FixedMenuBarLayout.<init>:(Lsun/tools/jconsole/MaximizableInternalFrame;Ljava/awt/Container;I)V
8: invokevirtual javax.swing.JMenuBar.setLayout:(Ljava/awt/LayoutManager;)V
end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainMenuBar:Ljavax/swing/JMenuBar;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
2 9 1 mainFrame Ljavax/swing/JFrame;
public void setTitle(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.isXP:Z
ifeq 3
aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.isMaximum:()Z
ifeq 3
1: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getMainFrame:()Ljavax/swing/JFrame;
ifnull 3
2: aload 0
invokevirtual sun.tools.jconsole.MaximizableInternalFrame.getMainFrame:()Ljavax/swing/JFrame;
new java.lang.StringBuilder
dup
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.mainTitle:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.swing.JFrame.setTitle:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.JInternalFrame.setTitle:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
0 5 1 title Ljava/lang/String;
MethodParameters:
Name Flags
title
private void updateButtonStates();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.setButtonIcons:Ljava/lang/reflect/Method;
ifnonnull 7
1: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 2: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 0
aload 1
ldc "setButtonIcons"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield sun.tools.jconsole.MaximizableInternalFrame.setButtonIcons:Ljava/lang/reflect/Method;
4: aload 0
aload 2
ldc "enableActions"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield sun.tools.jconsole.MaximizableInternalFrame.enableActions:Ljava/lang/reflect/Method;
5: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.setButtonIcons:Ljava/lang/reflect/Method;
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
6: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.enableActions:Ljava/lang/reflect/Method;
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
end local 2 end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.setButtonIcons:Ljava/lang/reflect/Method;
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.enableActions:Ljava/lang/reflect/Method;
aload 0
getfield sun.tools.jconsole.MaximizableInternalFrame.titlePane:Ljavax/swing/JComponent;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
9: goto 13
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 1
start local 1 11: getstatic sun.tools.jconsole.JConsole.debug:Z
ifeq 13
12: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/jconsole/MaximizableInternalFrame;
2 7 1 cls Ljava/lang/Class<+Ljavax/swing/JComponent;>;
3 7 2 superCls Ljava/lang/Class<*>;
11 13 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class java.lang.Exception
}
SourceFile: "MaximizableInternalFrame.java"
NestMembers:
sun.tools.jconsole.MaximizableInternalFrame$1 sun.tools.jconsole.MaximizableInternalFrame$FixedMenuBarLayout sun.tools.jconsole.MaximizableInternalFrame$MDIButtonIcon
InnerClasses:
public Filler = javax.swing.Box$Filler of javax.swing.Box
sun.tools.jconsole.MaximizableInternalFrame$1
private FixedMenuBarLayout = sun.tools.jconsole.MaximizableInternalFrame$FixedMenuBarLayout of sun.tools.jconsole.MaximizableInternalFrame
private MDIButtonIcon = sun.tools.jconsole.MaximizableInternalFrame$MDIButtonIcon of sun.tools.jconsole.MaximizableInternalFrame