public class sun.tools.jconsole.CreateMBeanDialog extends sun.tools.jconsole.InternalDialog implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.CreateMBeanDialog
super_class: sun.tools.jconsole.InternalDialog
{
sun.tools.jconsole.JConsole jConsole;
descriptor: Lsun/tools/jconsole/JConsole;
flags: (0x0000)
javax.swing.JComboBox<sun.tools.jconsole.ProxyClient> connections;
descriptor: Ljavax/swing/JComboBox;
flags: (0x0000)
Signature: Ljavax/swing/JComboBox<Lsun/tools/jconsole/ProxyClient;>;
javax.swing.JButton createMBeanButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0000)
javax.swing.JButton unregisterMBeanButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0000)
javax.swing.JButton cancelButton;
descriptor: Ljavax/swing/JButton;
flags: (0x0000)
private static final java.lang.String HOTSPOT_MBEAN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.management.HotspotInternal"
private static final java.lang.String HOTSPOT_MBEAN_OBJECTNAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.management:type=HotspotInternal"
public void <init>(sun.tools.jconsole.JConsole);
descriptor: (Lsun/tools/jconsole/JConsole;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "JConsole: Hotspot MBeans"
iconst_1
invokespecial sun.tools.jconsole.InternalDialog.<init>:(Lsun/tools/jconsole/JConsole;Ljava/lang/String;Z)V
1: aload 0
aload 1
putfield sun.tools.jconsole.CreateMBeanDialog.jConsole:Lsun/tools/jconsole/JConsole;
2: aload 0
3: getstatic sun.tools.jconsole.Messages.HOTSPOT_MBEANS_DIALOG_ACCESSIBLE_DESCRIPTION:Ljava/lang/String;
4: invokestatic sun.tools.jconsole.Utilities.setAccessibleDescription:(Ljavax/accessibility/Accessible;Ljava/lang/String;)V
5: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.getContentPane:()Ljava/awt/Container;
astore 2
start local 2 6: aload 2
checkcast javax.swing.JComponent
new javax.swing.border.EmptyBorder
dup
bipush 10
bipush 10
iconst_4
bipush 10
invokespecial javax.swing.border.EmptyBorder.<init>:(IIII)V
invokevirtual javax.swing.JComponent.setBorder:(Ljavax/swing/border/Border;)V
7: new javax.swing.JPanel
dup
new sun.tools.jconsole.VariableGridLayout
dup
iconst_0
8: iconst_1
9: iconst_4
10: iconst_4
11: iconst_0
12: iconst_1
invokespecial sun.tools.jconsole.VariableGridLayout.<init>:(IIIIZZ)V
13: invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 3
start local 3 14: aload 2
aload 3
ldc "Center"
invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;)V
15: aload 0
new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
putfield sun.tools.jconsole.CreateMBeanDialog.connections:Ljavax/swing/JComboBox;
16: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.updateConnections:()V
17: aload 3
new sun.tools.jconsole.LabeledComponent
dup
getstatic sun.tools.jconsole.Messages.MANAGE_HOTSPOT_MBEANS_IN_COLON_:Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.tools.jconsole.Resources.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
18: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.connections:Ljavax/swing/JComboBox;
invokespecial sun.tools.jconsole.LabeledComponent.<init>:(Ljava/lang/String;Ljavax/swing/JComponent;)V
19: invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
20: new javax.swing.JPanel
dup
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 4
start local 4 21: aload 2
aload 4
ldc "South"
invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;)V
22: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 5
start local 5 23: aload 4
aload 5
ldc "North"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
24: aload 5
aload 0
25: new javax.swing.JButton
dup
getstatic sun.tools.jconsole.Messages.CREATE:Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
26: dup_x1
putfield sun.tools.jconsole.CreateMBeanDialog.createMBeanButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
27: aload 5
aload 0
28: new javax.swing.JButton
dup
getstatic sun.tools.jconsole.Messages.UNREGISTER:Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
29: dup_x1
putfield sun.tools.jconsole.CreateMBeanDialog.unregisterMBeanButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
30: aload 5
aload 0
31: new javax.swing.JButton
dup
getstatic sun.tools.jconsole.Messages.CANCEL:Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
32: dup_x1
putfield sun.tools.jconsole.CreateMBeanDialog.cancelButton:Ljavax/swing/JButton;
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
33: aload 0
new javax.swing.JLabel
dup
ldc " "
iconst_0
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;I)V
putfield sun.tools.jconsole.CreateMBeanDialog.statusBar:Ljavax/swing/JLabel;
34: aload 4
aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.statusBar:Ljavax/swing/JLabel;
ldc "South"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
35: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.createMBeanButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
36: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.unregisterMBeanButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
37: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.cancelButton:Ljavax/swing/JButton;
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
38: aload 3
invokestatic sun.tools.jconsole.LabeledComponent.layout:(Ljava/awt/Container;)V
39: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.pack:()V
40: aload 0
aload 1
invokevirtual sun.tools.jconsole.CreateMBeanDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
41: 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 42 0 this Lsun/tools/jconsole/CreateMBeanDialog;
0 42 1 jConsole Lsun/tools/jconsole/JConsole;
6 42 2 cp Ljava/awt/Container;
14 42 3 centerPanel Ljavax/swing/JPanel;
21 42 4 bottomPanel Ljavax/swing/JPanel;
23 42 5 buttonPanel Ljavax/swing/JPanel;
MethodParameters:
Name Flags
jConsole
private void updateConnections();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.jConsole:Lsun/tools/jconsole/JConsole;
invokevirtual sun.tools.jconsole.JConsole.getInternalFrames:()Ljava/util/List;
astore 1
start local 1 1: new java.util.TreeSet
dup
new sun.tools.jconsole.CreateMBeanDialog$1
dup
aload 0
invokespecial sun.tools.jconsole.CreateMBeanDialog$1.<init>:(Lsun/tools/jconsole/CreateMBeanDialog;)V
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
2: astore 2
start local 2 3: aload 1
invokeinterface java.util.List.size:()I
ifne 14
4: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.jConsole:Lsun/tools/jconsole/JConsole;
invokevirtual sun.tools.jconsole.JConsole.getContentPane:()Ljava/awt/Container;
checkcast javax.swing.JComponent
astore 3
start local 3 5: aload 3
invokevirtual javax.swing.JComponent.getLayout:()Ljava/awt/LayoutManager;
checkcast java.awt.BorderLayout
6: ldc "Center"
invokevirtual java.awt.BorderLayout.getLayoutComponent:(Ljava/lang/Object;)Ljava/awt/Component;
7: astore 4
start local 4 8: aload 4
instanceof sun.tools.jconsole.VMPanel
ifeq 20
9: aload 4
checkcast sun.tools.jconsole.VMPanel
astore 5
start local 5 10: aload 5
iconst_0
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:(Z)Lsun/tools/jconsole/ProxyClient;
astore 6
start local 6 11: aload 6
ifnull 20
aload 6
invokevirtual sun.tools.jconsole.ProxyClient.hasPlatformMXBeans:()Z
ifeq 20
12: aload 2
aload 6
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 4 end local 3 13: goto 20
14: StackMap locals: java.util.List java.util.TreeSet
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: sun.tools.jconsole.CreateMBeanDialog java.util.List java.util.TreeSet top java.util.Iterator
StackMap stack:
15: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.VMInternalFrame
astore 3
start local 3 16: aload 3
invokevirtual sun.tools.jconsole.VMInternalFrame.getVMPanel:()Lsun/tools/jconsole/VMPanel;
iconst_0
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:(Z)Lsun/tools/jconsole/ProxyClient;
astore 5
start local 5 17: aload 5
ifnull 19
aload 5
invokevirtual sun.tools.jconsole.ProxyClient.hasPlatformMXBeans:()Z
ifeq 19
18: aload 2
aload 5
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
20: StackMap locals: sun.tools.jconsole.CreateMBeanDialog java.util.List java.util.TreeSet
StackMap stack:
aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.connections:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.invalidate:()V
21: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.connections:Ljavax/swing/JComboBox;
new javax.swing.DefaultComboBoxModel
dup
22: aload 2
aload 2
invokevirtual java.util.TreeSet.size:()I
anewarray sun.tools.jconsole.ProxyClient
invokevirtual java.util.TreeSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.tools.jconsole.ProxyClient[]
invokespecial javax.swing.DefaultComboBoxModel.<init>:([Ljava/lang/Object;)V
23: invokevirtual javax.swing.JComboBox.setModel:(Ljavax/swing/ComboBoxModel;)V
24: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.connections:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.validate:()V
25: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/tools/jconsole/CreateMBeanDialog;
1 26 1 frames Ljava/util/List<Lsun/tools/jconsole/VMInternalFrame;>;
3 26 2 data Ljava/util/TreeSet<Lsun/tools/jconsole/ProxyClient;>;
5 13 3 cp Ljavax/swing/JComponent;
8 13 4 comp Ljava/awt/Component;
10 13 5 vmpanel Lsun/tools/jconsole/VMPanel;
11 13 6 client Lsun/tools/jconsole/ProxyClient;
16 19 3 f Lsun/tools/jconsole/VMInternalFrame;
17 19 5 client Lsun/tools/jconsole/ProxyClient;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.setVisible:(Z)V
1: aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.statusBar:Ljavax/swing/JLabel;
ldc ""
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.cancelButton:Ljavax/swing/JButton;
if_acmpeq 5
3: new sun.tools.jconsole.CreateMBeanDialog$2
dup
aload 0
ldc "CreateMBeanDialog.actionPerformed"
aload 1
invokespecial sun.tools.jconsole.CreateMBeanDialog$2.<init>:(Lsun/tools/jconsole/CreateMBeanDialog;Ljava/lang/String;Ljava/awt/event/ActionEvent;)V
4: invokevirtual sun.tools.jconsole.CreateMBeanDialog$2.start:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/CreateMBeanDialog;
0 6 1 ev Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
ev final
public void setVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.isVisible:()Z
istore 2
start local 2 1: iload 1
ifeq 7
2: aload 0
aload 0
getfield sun.tools.jconsole.CreateMBeanDialog.jConsole:Lsun/tools/jconsole/JConsole;
invokevirtual sun.tools.jconsole.CreateMBeanDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
3: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.invalidate:()V
4: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.updateConnections:()V
5: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.validate:()V
6: aload 0
invokevirtual sun.tools.jconsole.CreateMBeanDialog.repaint:()V
7: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokespecial sun.tools.jconsole.InternalDialog.setVisible:(Z)V
8: iload 1
ifeq 10
iload 2
ifne 10
9: new sun.tools.jconsole.CreateMBeanDialog$3
dup
aload 0
invokespecial sun.tools.jconsole.CreateMBeanDialog$3.<init>:(Lsun/tools/jconsole/CreateMBeanDialog;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jconsole/CreateMBeanDialog;
0 11 1 b Z
1 11 2 wasVisible Z
MethodParameters:
Name Flags
b
}
SourceFile: "CreateMBeanDialog.java"
NestMembers:
sun.tools.jconsole.CreateMBeanDialog$1 sun.tools.jconsole.CreateMBeanDialog$2 sun.tools.jconsole.CreateMBeanDialog$3
InnerClasses:
sun.tools.jconsole.CreateMBeanDialog$1
sun.tools.jconsole.CreateMBeanDialog$2
sun.tools.jconsole.CreateMBeanDialog$3