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=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 29
aload 1
ifnull 29
2: aload 1
invokevirtual java.awt.Component.getWidth:()I
istore 3
start local 3 3: aload 1
invokevirtual java.awt.Component.getHeight:()I
istore 4
start local 4 4: aload 0
getfield javax.swing.PopupFactory$ContainerPopup.owner:Ljava/awt/Component;
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
start local 2 5: goto 28
6: StackMap locals: javax.swing.PopupFactory$ContainerPopup java.awt.Component java.awt.Container int int
StackMap stack:
aload 2
instanceof javax.swing.JFrame
ifne 9
7: aload 2
instanceof javax.swing.JDialog
ifne 9
8: aload 2
instanceof javax.swing.JWindow
ifeq 18
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Container.getBounds:()Ljava/awt/Rectangle;
astore 5
start local 5 10: aload 2
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 6
start local 6 11: aload 5
dup
getfield java.awt.Rectangle.x:I
aload 6
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Rectangle.x:I
12: aload 5
dup
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Rectangle.y:I
13: aload 5
dup
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Insets.left:I
aload 6
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Rectangle.width:I
14: aload 5
dup
getfield java.awt.Rectangle.height:I
aload 6
getfield java.awt.Insets.top:I
aload 6
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Rectangle.height:I
15: aload 2
invokevirtual java.awt.Container.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 7
start local 7 16: aload 0
aload 7
invokevirtual javax.swing.PopupFactory$ContainerPopup.getContainerPopupArea:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Rectangle;
astore 8
start local 8 17: aload 5
aload 8
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
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
ireturn
end local 8 end local 7 end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 2
instanceof javax.swing.JApplet
ifeq 24
19: aload 2
invokevirtual java.awt.Container.getBounds:()Ljava/awt/Rectangle;
astore 5
start local 5 20: aload 2
invokevirtual java.awt.Container.getLocationOnScreen:()Ljava/awt/Point;
astore 6
start local 6 21: aload 5
aload 6
getfield java.awt.Point.x:I
putfield java.awt.Rectangle.x:I
22: aload 5
aload 6
getfield java.awt.Point.y:I
putfield java.awt.Rectangle.y:I
23: aload 5
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
ireturn
end local 6 end local 5 24: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Window
ifne 29
25: aload 2
instanceof java.applet.Applet
ifeq 27
26: goto 29
27: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 2
28: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
end local 4 end local 3 end local 2 29: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavax/swing/PopupFactory$ContainerPopup;
1 30 1 component Ljava/awt/Component;
5 29 2 parent Ljava/awt/Container;
3 29 3 width I
4 29 4 height I
10 18 5 r Ljava/awt/Rectangle;
11 18 6 i Ljava/awt/Insets;
16 18 7 gc Ljava/awt/GraphicsConfiguration;
17 18 8 popupArea Ljava/awt/Rectangle;
20 24 5 r Ljava/awt/Rectangle;
21 24 6 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