class extends javax.swing.PopupFactory$ContainerPopup
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.PopupFactory$MediumWeightPopup
super_class: javax.swing.PopupFactory$ContainerPopup
{
private static final java.lang.Object ;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private javax.swing.JRootPane ;
descriptor: Ljavax/swing/JRootPane;
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.PopupFactory$MediumWeightPopup.mediumWeightPopupCacheKey:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.PopupFactory$ContainerPopup.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/PopupFactory$MediumWeightPopup;
static javax.swing.Popup (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)Ljavax/swing/Popup;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic javax.swing.PopupFactory$MediumWeightPopup.getRecycledMediumWeightPopup:()Ljavax/swing/PopupFactory$MediumWeightPopup;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new javax.swing.PopupFactory$MediumWeightPopup
dup
invokespecial javax.swing.PopupFactory$MediumWeightPopup.<init>:()V
astore 4
3: StackMap locals: javax.swing.PopupFactory$MediumWeightPopup
StackMap stack:
aload 4
aload 0
aload 1
iload 2
iload 3
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
4: aload 4
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.fitsOnScreen:()Z
ifeq 6
5: aload 4
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.overlappedByOwnedWindow:()Z
ifeq 8
6: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.hide:()V
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 owner Ljava/awt/Component;
0 9 1 contents Ljava/awt/Component;
0 9 2 ownerX I
0 9 3 ownerY I
1 9 4 popup Ljavax/swing/PopupFactory$MediumWeightPopup;
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
private static java.util.List<javax.swing.PopupFactory$MediumWeightPopup> getMediumWeightPopupCache();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic javax.swing.PopupFactory$MediumWeightPopup.mediumWeightPopupCacheKey:Ljava/lang/Object;
1: invokestatic javax.swing.SwingUtilities.appContextGet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 0
start local 0 2: aload 0
ifnonnull 5
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
4: getstatic javax.swing.PopupFactory$MediumWeightPopup.mediumWeightPopupCacheKey:Ljava/lang/Object;
aload 0
invokestatic javax.swing.SwingUtilities.appContextPut:(Ljava/lang/Object;Ljava/lang/Object;)V
5: StackMap locals: java.util.List
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 6 0 cache Ljava/util/List<Ljavax/swing/PopupFactory$MediumWeightPopup;>;
Signature: ()Ljava/util/List<Ljavax/swing/PopupFactory$MediumWeightPopup;>;
private static void (javax.swing.PopupFactory$MediumWeightPopup);
descriptor: (Ljavax/swing/PopupFactory$MediumWeightPopup;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc Ljavax/swing/PopupFactory$MediumWeightPopup;
dup
astore 1
monitorenter
1: invokestatic javax.swing.PopupFactory$MediumWeightPopup.getMediumWeightPopupCache:()Ljava/util/List;
astore 2
start local 2 2: aload 2
invokeinterface java.util.List.size:()I
iconst_5
if_icmpge 4
3: aload 2
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 popup Ljavax/swing/PopupFactory$MediumWeightPopup;
2 4 2 mediumPopupCache Ljava/util/List<Ljavax/swing/PopupFactory$MediumWeightPopup;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
popup
private static javax.swing.PopupFactory$MediumWeightPopup ();
descriptor: ()Ljavax/swing/PopupFactory$MediumWeightPopup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: ldc Ljavax/swing/PopupFactory$MediumWeightPopup;
dup
astore 0
monitorenter
1: invokestatic javax.swing.PopupFactory$MediumWeightPopup.getMediumWeightPopupCache:()Ljava/util/List;
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.size:()I
ifle 7
3: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.PopupFactory$MediumWeightPopup
astore 2
start local 2 4: aload 1
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
5: aload 2
aload 0
monitorexit
6: areturn
end local 2 7: StackMap locals: java.lang.Class java.util.List
StackMap stack:
aload 0
monitorexit
8: aconst_null
areturn
end local 1 9: StackMap locals: java.lang.Class
StackMap stack: java.lang.Throwable
aload 0
monitorexit
10: athrow
LocalVariableTable:
Start End Slot Name Signature
2 9 1 mediumPopupCache Ljava/util/List<Ljavax/swing/PopupFactory$MediumWeightPopup;>;
4 7 2 r Ljavax/swing/PopupFactory$MediumWeightPopup;
Exception table:
from to target type
1 6 9 any
7 8 9 any
9 10 9 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.PopupFactory$ContainerPopup.hide:()V
1: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.rootPane:Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getContentPane:()Ljava/awt/Container;
invokevirtual java.awt.Container.removeAll:()V
2: aload 0
invokestatic javax.swing.PopupFactory$MediumWeightPopup.recycleMediumWeightPopup:(Ljavax/swing/PopupFactory$MediumWeightPopup;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/PopupFactory$MediumWeightPopup;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.owner:Ljava/awt/Component;
ifnull 6
3: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.owner:Ljava/awt/Component;
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
4: goto 6
5: StackMap locals: java.awt.Component java.awt.Container
StackMap stack:
aload 2
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Window
ifne 8
aload 2
instanceof java.applet.Applet
ifne 8
7: aload 2
ifnonnull 5
8: StackMap locals:
StackMap stack:
aload 2
instanceof javax.swing.RootPaneContainer
ifeq 19
9: aload 2
checkcast javax.swing.RootPaneContainer
invokeinterface javax.swing.RootPaneContainer.getLayeredPane:()Ljavax/swing/JLayeredPane;
astore 2
10: aload 2
11: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.x:I
aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.y:I
12: invokestatic javax.swing.SwingUtilities.convertScreenLocationToParent:(Ljava/awt/Container;II)Ljava/awt/Point;
astore 3
start local 3 13: aload 1
iconst_0
invokevirtual java.awt.Component.setVisible:(Z)V
14: aload 1
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
invokevirtual java.awt.Component.setLocation:(II)V
15: aload 2
aload 1
getstatic javax.swing.JLayeredPane.POPUP_LAYER:Ljava/lang/Integer;
16: iconst_0
17: invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;I)V
end local 3 18: goto 25
19: StackMap locals:
StackMap stack:
aload 2
20: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.x:I
aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.y:I
21: invokestatic javax.swing.SwingUtilities.convertScreenLocationToParent:(Ljava/awt/Container;II)Ljava/awt/Point;
astore 3
start local 3 22: aload 1
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
invokevirtual java.awt.Component.setLocation:(II)V
23: aload 1
iconst_0
invokevirtual java.awt.Component.setVisible:(Z)V
24: aload 2
aload 1
invokevirtual java.awt.Container.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
end local 3 25: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual java.awt.Component.setVisible:(Z)V
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/PopupFactory$MediumWeightPopup;
1 27 1 component Ljava/awt/Component;
2 27 2 parent Ljava/awt/Container;
13 18 3 p Ljava/awt/Point;
22 25 3 p Ljava/awt/Point;
java.awt.Component (java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Component;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new javax.swing.PopupFactory$MediumWeightPopup$MediumWeightComponent
dup
invokespecial javax.swing.PopupFactory$MediumWeightPopup$MediumWeightComponent.<init>:()V
astore 2
start local 2 1: aload 0
new javax.swing.JRootPane
dup
invokespecial javax.swing.JRootPane.<init>:()V
putfield javax.swing.PopupFactory$MediumWeightPopup.rootPane:Ljavax/swing/JRootPane;
2: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.rootPane:Ljavax/swing/JRootPane;
iconst_1
invokevirtual javax.swing.JRootPane.setOpaque:(Z)V
3: aload 2
aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.rootPane:Ljavax/swing/JRootPane;
ldc "Center"
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/PopupFactory$MediumWeightPopup;
0 5 1 owner Ljava/awt/Component;
1 5 2 component Ljava/awt/Panel;
MethodParameters:
Name Flags
owner
void (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial javax.swing.PopupFactory$ContainerPopup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
1: aload 0
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.getComponent:()Ljava/awt/Component;
astore 5
start local 5 2: aload 5
iload 3
iload 4
invokevirtual java.awt.Component.setLocation:(II)V
3: aload 0
getfield javax.swing.PopupFactory$MediumWeightPopup.rootPane:Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getContentPane:()Ljava/awt/Container;
aload 2
ldc "Center"
invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;)V
4: aload 2
invokevirtual java.awt.Component.invalidate:()V
5: aload 5
invokevirtual java.awt.Component.validate:()V
6: aload 0
invokevirtual javax.swing.PopupFactory$MediumWeightPopup.pack:()V
7: 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 8 0 this Ljavax/swing/PopupFactory$MediumWeightPopup;
0 8 1 owner Ljava/awt/Component;
0 8 2 contents Ljava/awt/Component;
0 8 3 ownerX I
0 8 4 ownerY I
2 8 5 component Ljava/awt/Component;
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
}
SourceFile: "PopupFactory.java"
NestHost: javax.swing.PopupFactory
InnerClasses:
private ContainerPopup = javax.swing.PopupFactory$ContainerPopup of javax.swing.PopupFactory
private MediumWeightPopup = javax.swing.PopupFactory$MediumWeightPopup of javax.swing.PopupFactory
private MediumWeightComponent = javax.swing.PopupFactory$MediumWeightPopup$MediumWeightComponent of javax.swing.PopupFactory$MediumWeightPopup