public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.Popup
super_class: java.lang.Object
{
private java.awt.Component ;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
protected void (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial javax.swing.Popup.<init>:()V
1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Contents must be non-null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.swing.Popup java.awt.Component java.awt.Component int int
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 4
invokevirtual javax.swing.Popup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/Popup;
0 5 1 owner Ljava/awt/Component;
0 5 2 contents Ljava/awt/Component;
0 5 3 x I
0 5 4 y I
MethodParameters:
Name Flags
owner
contents
x
y
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/Popup;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.awt.Component.show:()V
3: StackMap locals: java.awt.Component
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/Popup;
1 4 1 component Ljava/awt/Component;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
instanceof javax.swing.JWindow
ifeq 4
2: aload 1
invokevirtual java.awt.Component.hide:()V
3: aload 1
checkcast javax.swing.JWindow
invokevirtual javax.swing.JWindow.getContentPane:()Ljava/awt/Container;
invokevirtual java.awt.Container.removeAll:()V
4: StackMap locals: java.awt.Component
StackMap stack:
aload 0
invokevirtual javax.swing.Popup.dispose:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/Popup;
1 6 1 component Ljava/awt/Component;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
astore 2
start local 2 2: aload 1
instanceof javax.swing.JWindow
ifeq 5
3: aload 1
checkcast java.awt.Window
invokevirtual java.awt.Window.dispose:()V
4: aconst_null
astore 1
5: StackMap locals: java.awt.Component java.awt.Window
StackMap stack:
aload 2
instanceof javax.swing.Popup$DefaultFrame
ifeq 7
6: aload 2
invokevirtual java.awt.Window.dispose:()V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/Popup;
1 8 1 component Ljava/awt/Component;
2 8 2 window Ljava/awt/Window;
void (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
ifnonnull 2
1: aload 0
aload 0
aload 1
invokevirtual javax.swing.Popup.createComponent:(Ljava/awt/Component;)Ljava/awt/Component;
putfield javax.swing.Popup.component:Ljava/awt/Component;
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
astore 5
start local 5 3: aload 5
instanceof javax.swing.JWindow
ifeq 11
4: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
checkcast javax.swing.JWindow
astore 6
start local 6 5: aload 6
iload 3
iload 4
iconst_1
iconst_1
invokevirtual javax.swing.JWindow.setBounds:(IIII)V
6: aload 6
invokevirtual javax.swing.JWindow.getContentPane:()Ljava/awt/Container;
aload 2
ldc "Center"
invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;)V
7: aload 6
invokevirtual javax.swing.JWindow.invalidate:()V
8: aload 6
invokevirtual javax.swing.JWindow.validate:()V
9: aload 6
invokevirtual javax.swing.JWindow.isVisible:()Z
ifeq 11
10: aload 0
invokevirtual javax.swing.Popup.pack:()V
end local 6 11: StackMap locals: java.awt.Component
StackMap stack:
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 12 0 this Ljavax/swing/Popup;
0 12 1 owner Ljava/awt/Component;
0 12 2 contents Ljava/awt/Component;
0 12 3 ownerX I
0 12 4 ownerY I
3 12 5 c Ljava/awt/Component;
5 11 6 component Ljavax/swing/JWindow;
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.Popup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
instanceof java.awt.Window
ifeq 3
2: aload 1
checkcast java.awt.Window
invokevirtual java.awt.Window.pack:()V
3: StackMap locals: java.awt.Component
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/Popup;
1 4 1 component Ljava/awt/Component;
private java.awt.Window (java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Window;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
instanceof java.awt.Window
ifeq 4
2: aload 1
checkcast java.awt.Window
astore 2
3: goto 6
4: StackMap locals: java.awt.Window
StackMap stack:
aload 1
ifnull 6
5: aload 1
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 8
7: new javax.swing.Popup$DefaultFrame
dup
invokespecial javax.swing.Popup$DefaultFrame.<init>:()V
astore 2
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/Popup;
0 9 1 owner Ljava/awt/Component;
1 9 2 window Ljava/awt/Window;
MethodParameters:
Name Flags
owner
java.awt.Component (java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Component;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new javax.swing.Popup$HeavyWeightWindow
dup
aload 0
aload 1
invokevirtual javax.swing.Popup.getParentWindow:(Ljava/awt/Component;)Ljava/awt/Window;
invokespecial javax.swing.Popup$HeavyWeightWindow.<init>:(Ljava/awt/Window;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/Popup;
0 3 1 owner Ljava/awt/Component;
MethodParameters:
Name Flags
owner
java.awt.Component ();
descriptor: ()Ljava/awt/Component;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.Popup.component:Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/Popup;
}
SourceFile: "Popup.java"
NestMembers:
javax.swing.Popup$DefaultFrame javax.swing.Popup$HeavyWeightWindow
InnerClasses:
DefaultFrame = javax.swing.Popup$DefaultFrame of javax.swing.Popup
HeavyWeightWindow = javax.swing.Popup$HeavyWeightWindow of javax.swing.Popup