class extends javax.swing.Popup
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.PopupFactory$ContainerPopup
super_class: javax.swing.Popup
{
java.awt.Component ;
descriptor: Ljava/awt/Component;
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
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.Popup.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/PopupFactory$ContainerPopup;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.PopupFactory$ContainerPopup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 9
2: aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
start local 2 3: aload 2
ifnull 9
4: aload 1
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 5: aload 2
aload 1
invokevirtual java.awt.Container.remove:(Ljava/awt/Component;)V
6: aload 2
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.width:I
7: aload 3
getfield java.awt.Rectangle.height:I
8: invokevirtual java.awt.Container.repaint:(IIII)V
end local 3 end local 2 9: StackMap locals: java.awt.Component
StackMap stack:
aload 0
aconst_null
putfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/PopupFactory$ContainerPopup;
1 11 1 component Ljava/awt/Component;
3 9 2 parent Ljava/awt/Container;
5 9 3 bounds Ljava/awt/Rectangle;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.PopupFactory$ContainerPopup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 1
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
invokevirtual java.awt.Component.setSize:(Ljava/awt/Dimension;)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/PopupFactory$ContainerPopup;
1 4 1 component Ljava/awt/Component;
void (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)V
flags: (0x0000)
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 1
instanceof javax.swing.JFrame
ifne 2
aload 1
instanceof javax.swing.JDialog
ifne 2
1: aload 1
instanceof javax.swing.JWindow
ifeq 3
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.RootPaneContainer
invokeinterface javax.swing.RootPaneContainer.getLayeredPane:()Ljavax/swing/JLayeredPane;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial javax.swing.Popup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
4: aload 0
iload 3
putfield javax.swing.PopupFactory$ContainerPopup.x:I
5: aload 0
iload 4
putfield javax.swing.PopupFactory$ContainerPopup.y:I
6: aload 0
aload 1
putfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
7: return
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$ContainerPopup;
0 8 1 owner Ljava/awt/Component;
0 8 2 contents Ljava/awt/Component;
0 8 3 ownerX I
0 8 4 ownerY I
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.PopupFactory$ContainerPopup.getComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
ifnull 15
aload 1
ifnull 15
2: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: java.awt.Component java.awt.Window
StackMap stack:
aload 2
invokevirtual java.awt.Window.getOwnedWindows:()[Ljava/awt/Window;
astore 3
start local 3 6: aload 3
ifnull 15
7: aload 1
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 8: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 14
StackMap locals: javax.swing.PopupFactory$ContainerPopup java.awt.Component java.awt.Window java.awt.Window[] java.awt.Rectangle top int int java.awt.Window[]
StackMap stack:
9: aload 8
iload 6
aaload
astore 5
start local 5 10: aload 5
invokevirtual java.awt.Window.isVisible:()Z
ifeq 13
11: aload 4
aload 5
invokevirtual java.awt.Window.getBounds:()Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.intersects:(Ljava/awt/Rectangle;)Z
ifeq 13
12: iconst_1
ireturn
end local 5 13: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 7
if_icmplt 9
end local 4 end local 3 end local 2 15: StackMap locals: javax.swing.PopupFactory$ContainerPopup java.awt.Component
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/PopupFactory$ContainerPopup;
1 16 1 component Ljava/awt/Component;
3 15 2 w Ljava/awt/Window;
6 15 3 ownedWindows [Ljava/awt/Window;
8 15 4 bnd Ljava/awt/Rectangle;
10 13 5 window Ljava/awt/Window;
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=5, locals=10, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javax.swing.PopupFactory$ContainerPopup.getComponent:()Ljava/awt/Component;
astore 2
start local 2 2: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
ifnull 33
aload 2
ifnull 33
3: aload 2
invokevirtual java.awt.Component.getWidth:()I
istore 3
start local 3 4: aload 2
invokevirtual java.awt.Component.getHeight:()I
istore 4
start local 4 5: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
invokestatic javax.swing.SwingUtilities.getRoot:(Ljava/awt/Component;)Ljava/awt/Component;
checkcast java.awt.Container
astore 5
start local 5 6: aload 5
instanceof javax.swing.JFrame
ifne 9
7: aload 5
instanceof javax.swing.JDialog
ifne 9
8: aload 5
instanceof javax.swing.JWindow
ifeq 27
9: StackMap locals: javax.swing.PopupFactory$ContainerPopup int java.awt.Component int int java.awt.Container
StackMap stack:
aload 5
invokevirtual java.awt.Container.getBounds:()Ljava/awt/Rectangle;
astore 6
start local 6 10: aload 5
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 7
start local 7 11: aload 6
dup
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Rectangle.x:I
12: aload 6
dup
getfield java.awt.Rectangle.y:I
aload 7
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Rectangle.y:I
13: aload 6
dup
getfield java.awt.Rectangle.width:I
aload 7
getfield java.awt.Insets.left:I
aload 7
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Rectangle.width:I
14: aload 6
dup
getfield java.awt.Rectangle.height:I
aload 7
getfield java.awt.Insets.top:I
aload 7
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Rectangle.height:I
15: invokestatic javax.swing.JPopupMenu.canPopupOverlapTaskBar:()Z
ifeq 23
16: aload 5
invokevirtual java.awt.Container.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
17: astore 8
start local 8 18: aload 0
aload 8
invokevirtual javax.swing.PopupFactory$ContainerPopup.getContainerPopupArea:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Rectangle;
astore 9
start local 9 19: aload 6
aload 9
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
20: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.x:I
aload 0
getfield javax.swing.PopupFactory$ContainerPopup.y:I
iload 3
iload 4
invokevirtual java.awt.Rectangle.contains:(IIII)Z
21: istore 1
end local 9 end local 8 22: goto 33
23: StackMap locals: java.awt.Rectangle java.awt.Insets
StackMap stack:
aload 6
24: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.x:I
aload 0
getfield javax.swing.PopupFactory$ContainerPopup.y:I
iload 3
iload 4
invokevirtual java.awt.Rectangle.contains:(IIII)Z
25: istore 1
end local 7 end local 6 26: goto 33
StackMap locals:
StackMap stack:
27: aload 5
instanceof javax.swing.JApplet
ifeq 33
28: aload 5
invokevirtual java.awt.Container.getBounds:()Ljava/awt/Rectangle;
astore 6
start local 6 29: aload 5
invokevirtual java.awt.Container.getLocationOnScreen:()Ljava/awt/Point;
astore 7
start local 7 30: aload 6
aload 7
getfield java.awt.Point.x:I
putfield java.awt.Rectangle.x:I
31: aload 6
aload 7
getfield java.awt.Point.y:I
putfield java.awt.Rectangle.y:I
32: aload 6
aload 0
getfield javax.swing.PopupFactory$ContainerPopup.x:I
aload 0
getfield javax.swing.PopupFactory$ContainerPopup.y:I
iload 3
iload 4
invokevirtual java.awt.Rectangle.contains:(IIII)Z
istore 1
end local 7 end local 6 end local 5 end local 4 end local 3 33: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljavax/swing/PopupFactory$ContainerPopup;
1 34 1 result Z
2 34 2 component Ljava/awt/Component;
4 33 3 popupWidth I
5 33 4 popupHeight I
6 33 5 parent Ljava/awt/Container;
10 26 6 parentBounds Ljava/awt/Rectangle;
11 26 7 i Ljava/awt/Insets;
18 22 8 gc Ljava/awt/GraphicsConfiguration;
19 22 9 popupArea Ljava/awt/Rectangle;
29 33 6 parentBounds Ljava/awt/Rectangle;
30 33 7 p Ljava/awt/Point;
java.awt.Rectangle (java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/Rectangle;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 3
start local 3 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 3: aload 3
aload 1
invokevirtual java.awt.Toolkit.getScreenInsets:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Insets;
astore 4
start local 4 4: goto 7
end local 4 end local 2 5: StackMap locals: javax.swing.PopupFactory$ContainerPopup java.awt.GraphicsConfiguration top java.awt.Toolkit
StackMap stack:
new java.awt.Rectangle
dup
aload 3
invokevirtual java.awt.Toolkit.getScreenSize:()Ljava/awt/Dimension;
invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Dimension;)V
astore 2
start local 2 6: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 4
start local 4 7: StackMap locals: javax.swing.PopupFactory$ContainerPopup java.awt.GraphicsConfiguration java.awt.Rectangle java.awt.Toolkit java.awt.Insets
StackMap stack:
aload 2
dup
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Rectangle.x:I
8: aload 2
dup
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Rectangle.y:I
9: aload 2
dup
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Insets.left:I
aload 4
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Rectangle.width:I
10: aload 2
dup
getfield java.awt.Rectangle.height:I
aload 4
getfield java.awt.Insets.top:I
aload 4
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Rectangle.height:I
11: aload 2
areturn
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/PopupFactory$ContainerPopup;
0 12 1 gc Ljava/awt/GraphicsConfiguration;
3 5 2 screenBounds Ljava/awt/Rectangle;
6 12 2 screenBounds Ljava/awt/Rectangle;
1 12 3 toolkit Ljava/awt/Toolkit;
4 5 4 insets Ljava/awt/Insets;
7 12 4 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
gc
}
SourceFile: "PopupFactory.java"
NestHost: javax.swing.PopupFactory
InnerClasses:
private ContainerPopup = javax.swing.PopupFactory$ContainerPopup of javax.swing.PopupFactory