public class sun.awt.X11.XPanelPeer extends sun.awt.X11.XCanvasPeer implements java.awt.peer.PanelPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XPanelPeer
super_class: sun.awt.X11.XCanvasPeer
{
sun.awt.X11.XEmbeddingContainer embedder;
descriptor: Lsun/awt/X11/XEmbeddingContainer;
flags: (0x0000)
public void xembed(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
ifnull 2
1: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
lload 1
invokevirtual sun.awt.X11.XEmbeddingContainer.add:(J)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XPanelPeer;
0 3 1 window J
MethodParameters:
Name Flags
window
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XCanvasPeer.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XPanelPeer;
void <init>(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.<init>:(Lsun/awt/X11/XCreateWindowParams;)V
1: aload 0
aconst_null
putfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XPanelPeer;
0 3 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
void <init>(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.<init>:(Ljava/awt/Component;)V
1: aload 0
aconst_null
putfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XPanelPeer;
0 3 1 target Ljava/awt/Component;
MethodParameters:
Name Flags
target
void postInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.postInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
ifnull 3
2: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
aload 0
invokevirtual sun.awt.X11.XEmbeddingContainer.install:(Lsun/awt/X11/XWindow;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XPanelPeer;
0 4 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
public java.awt.Insets getInsets();
descriptor: ()Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XPanelPeer;
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.paint:(Ljava/awt/Graphics;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XPanelPeer;
0 2 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public void print(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.print:(Ljava/awt/Graphics;)V
1: invokestatic sun.awt.SunGraphicsCallback$PrintHeavyweightComponentsCallback.getInstance:()Lsun/awt/SunGraphicsCallback$PrintHeavyweightComponentsCallback;
2: aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
checkcast java.awt.Container
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
aload 1
3: iconst_3
4: invokevirtual sun.awt.SunGraphicsCallback$PrintHeavyweightComponentsCallback.runComponents:([Ljava/awt/Component;Ljava/awt/Graphics;I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XPanelPeer;
0 6 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
checkcast java.awt.Container
astore 4
start local 4 1: aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getTreeLock:()Ljava/lang/Object;
dup
astore 5
monitorenter
2: aload 4
invokevirtual java.awt.Container.getComponentCount:()I
istore 6
start local 6 3: iconst_0
istore 3
start local 3 4: goto 12
5: StackMap locals: sun.awt.X11.XPanelPeer java.awt.Color top int java.awt.Container java.lang.Object int
StackMap stack:
aload 4
iload 3
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 2
start local 2 6: aload 2
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
astore 7
start local 7 7: aload 7
ifnull 11
8: aload 2
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
astore 8
start local 8 9: aload 8
ifnull 10
aload 8
aload 1
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 11
10: StackMap locals: sun.awt.X11.XPanelPeer java.awt.Color java.awt.Component int java.awt.Container java.lang.Object int java.awt.peer.ComponentPeer java.awt.Color
StackMap stack:
aload 7
aload 1
invokeinterface java.awt.peer.ComponentPeer.setBackground:(Ljava/awt/Color;)V
end local 8 end local 7 11: StackMap locals:
StackMap stack:
iinc 3 1
end local 2 StackMap locals: sun.awt.X11.XPanelPeer java.awt.Color top int java.awt.Container java.lang.Object int
StackMap stack:
12: iload 3
iload 6
if_icmplt 5
end local 6 13: aload 5
monitorexit
14: goto 17
end local 3 StackMap locals: sun.awt.X11.XPanelPeer java.awt.Color top top java.awt.Container java.lang.Object
StackMap stack: java.lang.Throwable
15: aload 5
monitorexit
16: athrow
start local 3 17: StackMap locals: sun.awt.X11.XPanelPeer java.awt.Color top int java.awt.Container
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.setBackground:(Ljava/awt/Color;)V
18: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/X11/XPanelPeer;
0 19 1 c Ljava/awt/Color;
6 12 2 comp Ljava/awt/Component;
4 15 3 i I
17 19 3 i I
1 19 4 cont Ljava/awt/Container;
3 13 6 n I
7 11 7 peer Ljava/awt/peer/ComponentPeer;
9 11 8 color Ljava/awt/Color;
Exception table:
from to target type
2 14 15 any
15 16 15 any
MethodParameters:
Name Flags
c
public void setForeground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
checkcast java.awt.Container
aload 1
invokevirtual sun.awt.X11.XPanelPeer.setForegroundForHierarchy:(Ljava/awt/Container;Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XPanelPeer;
0 2 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
private void setForegroundForHierarchy(java.awt.Container, java.awt.Color);
descriptor: (Ljava/awt/Container;Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getTreeLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 1
invokevirtual java.awt.Container.getComponentCount:()I
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 14
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 1
iload 5
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 6
start local 6 5: aload 6
invokevirtual java.awt.Component.getForeground:()Ljava/awt/Color;
astore 7
start local 7 6: aload 7
ifnull 7
aload 7
aload 2
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 13
7: StackMap locals: java.awt.Component java.awt.Color
StackMap stack:
aload 6
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
astore 8
start local 8 8: aload 8
ifnull 10
9: aload 8
aload 2
invokeinterface java.awt.peer.ComponentPeer.setForeground:(Ljava/awt/Color;)V
10: StackMap locals: java.awt.peer.ComponentPeer
StackMap stack:
aload 8
instanceof java.awt.peer.LightweightPeer
ifeq 13
11: aload 6
instanceof java.awt.Container
ifeq 13
12: aload 0
aload 6
checkcast java.awt.Container
aload 2
invokevirtual sun.awt.X11.XPanelPeer.setForegroundForHierarchy:(Ljava/awt/Container;Ljava/awt/Color;)V
end local 8 end local 7 end local 6 13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 4
if_icmplt 4
end local 5 end local 4 15: aload 3
monitorexit
16: goto 19
StackMap locals: sun.awt.X11.XPanelPeer java.awt.Container java.awt.Color java.lang.Object
StackMap stack: java.lang.Throwable
17: aload 3
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/X11/XPanelPeer;
0 20 1 cont Ljava/awt/Container;
0 20 2 c Ljava/awt/Color;
2 15 4 n I
3 15 5 i I
5 13 6 comp Ljava/awt/Component;
6 13 7 color Ljava/awt/Color;
8 13 8 cpeer Ljava/awt/peer/ComponentPeer;
Exception table:
from to target type
1 16 17 any
17 18 17 any
MethodParameters:
Name Flags
cont
c
public java.awt.Insets insets();
descriptor: ()Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XPanelPeer.getInsets:()Ljava/awt/Insets;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XPanelPeer;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
ifnull 2
1: aload 0
getfield sun.awt.X11.XPanelPeer.embedder:Lsun/awt/X11/XEmbeddingContainer;
invokevirtual sun.awt.X11.XEmbeddingContainer.deinstall:()V
2: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.X11.XCanvasPeer.dispose:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XPanelPeer;
protected boolean shouldFocusOnClick();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XPanelPeer.target:Ljava/awt/Component;
checkcast java.awt.Container
invokevirtual java.awt.Container.getComponentCount:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XPanelPeer;
public java.awt.GraphicsConfiguration getAppropriateGraphicsConfiguration(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XCanvasPeer.getAppropriateGraphicsConfiguration:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void disableBackgroundErase();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XCanvasPeer.disableBackgroundErase:()V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XPanelPeer.java"
InnerClasses:
public final PrintHeavyweightComponentsCallback = sun.awt.SunGraphicsCallback$PrintHeavyweightComponentsCallback of sun.awt.SunGraphicsCallback