public final class sun.swing.JLightweightFrame extends sun.awt.LightweightFrame implements javax.swing.RootPaneContainer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.swing.JLightweightFrame
super_class: sun.awt.LightweightFrame
{
private final javax.swing.JRootPane rootPane;
descriptor: Ljavax/swing/JRootPane;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private sun.swing.LightweightContent content;
descriptor: Lsun/swing/LightweightContent;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component component;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JPanel contentPane;
descriptor: Ljavax/swing/JPanel;
flags: (0x0002) ACC_PRIVATE
private java.awt.image.BufferedImage bbImage;
descriptor: Ljava/awt/image/BufferedImage;
flags: (0x0002) ACC_PRIVATE
private volatile int scaleFactor;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static boolean copyBufferEnabled;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int[] copyBuffer;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private java.beans.PropertyChangeListener layoutSizeListener;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x0002) ACC_PRIVATE
private sun.swing.SwingUtilities2$RepaintListener repaintListener;
descriptor: Lsun/swing/SwingUtilities2$RepaintListener;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new sun.swing.JLightweightFrame$1
dup
invokespecial sun.swing.JLightweightFrame$1.<init>:()V
invokestatic sun.swing.SwingAccessor.setJLightweightFrameAccessor:(Lsun/swing/SwingAccessor$JLightweightFrameAccessor;)V
1: ldc "true"
2: new sun.security.action.GetPropertyAction
dup
ldc "swing.jlf.copyBufferEnabled"
ldc "true"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
3: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.LightweightFrame.<init>:()V
1: aload 0
new javax.swing.JRootPane
dup
invokespecial javax.swing.JRootPane.<init>:()V
putfield sun.swing.JLightweightFrame.rootPane:Ljavax/swing/JRootPane;
2: aload 0
iconst_1
putfield sun.swing.JLightweightFrame.scaleFactor:I
3: ldc "true"
4: new sun.security.action.GetPropertyAction
dup
ldc "swing.jlf.copyBufferEnabled"
ldc "true"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
5: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
6: aload 0
aload 0
getfield sun.swing.JLightweightFrame.rootPane:Ljavax/swing/JRootPane;
ldc "Center"
invokevirtual sun.swing.JLightweightFrame.add:(Ljava/awt/Component;Ljava/lang/Object;)V
7: aload 0
new javax.swing.LayoutFocusTraversalPolicy
dup
invokespecial javax.swing.LayoutFocusTraversalPolicy.<init>:()V
invokevirtual sun.swing.JLightweightFrame.setFocusTraversalPolicy:(Ljava/awt/FocusTraversalPolicy;)V
8: aload 0
invokevirtual sun.swing.JLightweightFrame.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration.isTranslucencyCapable:()Z
ifeq 10
9: aload 0
new java.awt.Color
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Color.<init>:(IIII)V
invokevirtual sun.swing.JLightweightFrame.setBackground:(Ljava/awt/Color;)V
10: StackMap locals: sun.swing.JLightweightFrame
StackMap stack:
aload 0
new sun.swing.JLightweightFrame$2
dup
aload 0
invokespecial sun.swing.JLightweightFrame$2.<init>:(Lsun/swing/JLightweightFrame;)V
putfield sun.swing.JLightweightFrame.layoutSizeListener:Ljava/beans/PropertyChangeListener;
11: aload 0
aload 0
invokedynamic repaintPerformed(Lsun/swing/JLightweightFrame;)Lsun/swing/SwingUtilities2$RepaintListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavax/swing/JComponent;IIII)V
sun/swing/JLightweightFrame.lambda$0(Ljavax/swing/JComponent;IIII)V (7)
(Ljavax/swing/JComponent;IIII)V
putfield sun.swing.JLightweightFrame.repaintListener:Lsun/swing/SwingUtilities2$RepaintListener;
12: invokestatic sun.swing.SwingAccessor.getRepaintManagerAccessor:()Lsun/swing/SwingAccessor$RepaintManagerAccessor;
13: aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljava/awt/Component;)Ljavax/swing/RepaintManager;
aload 0
getfield sun.swing.JLightweightFrame.repaintListener:Lsun/swing/SwingUtilities2$RepaintListener;
14: invokeinterface sun.swing.SwingAccessor$RepaintManagerAccessor.addRepaintListener:(Ljavax/swing/RepaintManager;Lsun/swing/SwingUtilities2$RepaintListener;)V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/swing/JLightweightFrame;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic sun.swing.SwingAccessor.getRepaintManagerAccessor:()Lsun/swing/SwingAccessor$RepaintManagerAccessor;
1: aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljava/awt/Component;)Ljavax/swing/RepaintManager;
aload 0
getfield sun.swing.JLightweightFrame.repaintListener:Lsun/swing/SwingUtilities2$RepaintListener;
2: invokeinterface sun.swing.SwingAccessor$RepaintManagerAccessor.removeRepaintListener:(Ljavax/swing/RepaintManager;Lsun/swing/SwingUtilities2$RepaintListener;)V
3: aload 0
invokespecial sun.awt.LightweightFrame.dispose:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/swing/JLightweightFrame;
public void setContent(sun.swing.LightweightContent);
descriptor: (Lsun/swing/LightweightContent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "JLightweightFrame.setContent: content may not be null!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
4: aload 0
aload 1
invokeinterface sun.swing.LightweightContent.getComponent:()Ljavax/swing/JComponent;
putfield sun.swing.JLightweightFrame.component:Ljava/awt/Component;
5: aload 0
getfield sun.swing.JLightweightFrame.component:Ljava/awt/Component;
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
astore 2
start local 2 6: aload 1
aload 2
getfield java.awt.Dimension.width:I
aload 2
getfield java.awt.Dimension.height:I
invokeinterface sun.swing.LightweightContent.preferredSizeChanged:(II)V
7: aload 0
getfield sun.swing.JLightweightFrame.component:Ljava/awt/Component;
invokevirtual java.awt.Component.getMaximumSize:()Ljava/awt/Dimension;
astore 2
8: aload 1
aload 2
getfield java.awt.Dimension.width:I
aload 2
getfield java.awt.Dimension.height:I
invokeinterface sun.swing.LightweightContent.maximumSizeChanged:(II)V
9: aload 0
getfield sun.swing.JLightweightFrame.component:Ljava/awt/Component;
invokevirtual java.awt.Component.getMinimumSize:()Ljava/awt/Dimension;
astore 2
10: aload 1
aload 2
getfield java.awt.Dimension.width:I
aload 2
getfield java.awt.Dimension.height:I
invokeinterface sun.swing.LightweightContent.minimumSizeChanged:(II)V
11: aload 0
invokevirtual sun.swing.JLightweightFrame.initInterior:()V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/swing/JLightweightFrame;
0 13 1 content Lsun/swing/LightweightContent;
6 13 2 d Ljava/awt/Dimension;
MethodParameters:
Name Flags
content final
public java.awt.Graphics getGraphics();
descriptor: ()Ljava/awt/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 1
start local 1 2: aload 1
aload 0
invokevirtual sun.swing.JLightweightFrame.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setBackground:(Ljava/awt/Color;)V
3: aload 1
aload 0
invokevirtual sun.swing.JLightweightFrame.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
4: aload 1
aload 0
invokevirtual sun.swing.JLightweightFrame.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics2D.setFont:(Ljava/awt/Font;)V
5: aload 1
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
i2d
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
i2d
invokevirtual java.awt.Graphics2D.scale:(DD)V
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/swing/JLightweightFrame;
2 7 1 g Ljava/awt/Graphics2D;
public void grabFocus();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnull 1
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.focusGrabbed:()V
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/JLightweightFrame;
public void ungrabFocus();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnull 1
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.focusUngrabbed:()V
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/JLightweightFrame;
public int getScaleFactor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/JLightweightFrame;
public void notifyDisplayChanged(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
if_icmpeq 10
1: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 2
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintLock:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
ifnull 8
3: aload 0
aload 0
invokevirtual sun.swing.JLightweightFrame.getWidth:()I
aload 0
invokevirtual sun.swing.JLightweightFrame.getHeight:()I
iload 1
invokevirtual sun.swing.JLightweightFrame.resizeBuffer:(III)V
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 7
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
athrow
8: StackMap locals:
StackMap stack:
getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 9
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
9: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.swing.JLightweightFrame.scaleFactor:I
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.swing.JLightweightFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
instanceof sun.awt.DisplayChangedListener
ifeq 12
11: aload 0
invokevirtual sun.swing.JLightweightFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.DisplayChangedListener
invokeinterface sun.awt.DisplayChangedListener.displayChanged:()V
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.swing.JLightweightFrame.repaint:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/swing/JLightweightFrame;
0 14 1 scaleFactor I
Exception table:
from to target type
2 5 5 any
MethodParameters:
Name Flags
scaleFactor final
public void addNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.LightweightFrame.addNotify:()V
1: aload 0
invokevirtual sun.swing.JLightweightFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
instanceof sun.awt.DisplayChangedListener
ifeq 3
2: aload 0
invokevirtual sun.swing.JLightweightFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.DisplayChangedListener
invokeinterface sun.awt.DisplayChangedListener.displayChanged:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/JLightweightFrame;
private void syncCopyBuffer(boolean, int, int, int, int, int);
descriptor: (ZIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintLock:()V
1: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 7
start local 7 2: iload 1
ifeq 4
3: aload 0
aload 7
arraylength
newarray 10
putfield sun.swing.JLightweightFrame.copyBuffer:[I
4: StackMap locals: int[]
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getWidth:()I
istore 8
start local 8 5: iload 2
iload 6
imul
istore 2
6: iload 3
iload 6
imul
istore 3
7: iload 4
iload 6
imul
istore 4
8: iload 5
iload 6
imul
istore 5
9: iconst_0
istore 9
start local 9 10: goto 14
11: StackMap locals: int int
StackMap stack:
iload 3
iload 9
iadd
iload 8
imul
iload 2
iadd
istore 10
start local 10 12: aload 7
iload 10
aload 0
getfield sun.swing.JLightweightFrame.copyBuffer:[I
iload 10
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 10 13: iinc 9 1
StackMap locals:
StackMap stack:
14: iload 9
iload 5
if_icmplt 11
end local 9 end local 8 end local 7 15: goto 19
StackMap locals: sun.swing.JLightweightFrame int int int int int int
StackMap stack: java.lang.Throwable
16: astore 11
17: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
18: aload 11
athrow
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
20: return
end local 6 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 21 0 this Lsun/swing/JLightweightFrame;
0 21 1 reset Z
0 21 2 x I
0 21 3 y I
0 21 4 w I
0 21 5 h I
0 21 6 scale I
2 15 7 srcBuffer [I
5 15 8 linestride I
10 15 9 i I
12 13 10 from I
Exception table:
from to target type
1 16 16 any
MethodParameters:
Name Flags
reset
x
y
w
h
scale
private void notifyImageUpdated(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifeq 2
1: aload 0
iconst_0
iload 1
iload 2
iload 3
iload 4
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
invokevirtual sun.swing.JLightweightFrame.syncCopyBuffer:(ZIIIII)V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
iload 1
iload 2
iload 3
iload 4
invokeinterface sun.swing.LightweightContent.imageUpdated:(IIII)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/JLightweightFrame;
0 4 1 x I
0 4 2 y I
0 4 3 width I
0 4 4 height I
MethodParameters:
Name Flags
x
y
width
height
private void initInterior();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new sun.swing.JLightweightFrame$3
dup
aload 0
invokespecial sun.swing.JLightweightFrame$3.<init>:(Lsun/swing/JLightweightFrame;)V
putfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
1: aload 0
getfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
2: aload 0
getfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
aload 0
getfield sun.swing.JLightweightFrame.component:Ljava/awt/Component;
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
3: ldc "true"
4: new sun.security.action.GetPropertyAction
dup
ldc "swing.jlf.contentPaneTransparent"
ldc "false"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
5: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
6: ifeq 8
7: aload 0
getfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
iconst_0
invokevirtual javax.swing.JPanel.setOpaque:(Z)V
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
invokevirtual sun.swing.JLightweightFrame.setContentPane:(Ljava/awt/Container;)V
9: aload 0
getfield sun.swing.JLightweightFrame.contentPane:Ljavax/swing/JPanel;
new sun.swing.JLightweightFrame$4
dup
aload 0
invokespecial sun.swing.JLightweightFrame$4.<init>:(Lsun/swing/JLightweightFrame;)V
invokevirtual javax.swing.JPanel.addContainerListener:(Ljava/awt/event/ContainerListener;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/swing/JLightweightFrame;
public void reshape(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.LightweightFrame.reshape:(IIII)V
1: iload 3
ifeq 2
iload 4
ifne 3
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 5
4: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintLock:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
ifnonnull 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: iload 3
istore 6
start local 6 9: iload 4
istore 7
start local 7 10: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
ifnull 29
11: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getWidth:()I
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
idiv
istore 8
start local 8 12: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getHeight:()I
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
idiv
istore 9
start local 9 13: iload 3
iload 8
if_icmpne 14
iload 4
iload 9
if_icmpeq 29
14: StackMap locals: sun.swing.JLightweightFrame int int int int int int int int int
StackMap stack:
iconst_1
istore 5
15: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
ifnull 29
16: iload 8
istore 10
start local 10 17: iload 9
istore 11
start local 11 18: iload 10
iload 6
if_icmplt 21
iload 11
iload 7
if_icmplt 21
19: iconst_0
istore 5
20: goto 29
21: StackMap locals: int int
StackMap stack:
iload 10
iload 6
if_icmplt 24
22: iload 10
istore 6
23: goto 25
24: StackMap locals:
StackMap stack:
iload 10
i2d
ldc 1.2
dmul
d2i
iload 3
invokestatic java.lang.Math.max:(II)I
istore 6
25: StackMap locals:
StackMap stack:
iload 11
iload 7
if_icmplt 28
26: iload 11
istore 7
27: goto 29
28: StackMap locals:
StackMap stack:
iload 11
i2d
ldc 1.2
dmul
d2i
iload 4
invokestatic java.lang.Math.max:(II)I
istore 7
end local 11 end local 10 end local 9 end local 8 29: StackMap locals: sun.swing.JLightweightFrame int int int int int int int
StackMap stack:
iload 5
ifeq 34
30: aload 0
iload 6
iload 7
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
invokevirtual sun.swing.JLightweightFrame.resizeBuffer:(III)V
31: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 33
32: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
33: StackMap locals:
StackMap stack:
return
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
iconst_0
iconst_0
iload 3
iload 4
invokeinterface sun.swing.LightweightContent.imageReshaped:(IIII)V
end local 7 end local 6 end local 5 35: goto 40
StackMap locals: sun.swing.JLightweightFrame int int int int
StackMap stack: java.lang.Throwable
36: astore 12
37: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 39
38: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
39: StackMap locals: sun.swing.JLightweightFrame int int int int top top top top top top top java.lang.Throwable
StackMap stack:
aload 12
athrow
40: StackMap locals: sun.swing.JLightweightFrame int int int int
StackMap stack:
getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifne 42
41: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
invokeinterface sun.swing.LightweightContent.paintUnlock:()V
42: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lsun/swing/JLightweightFrame;
0 43 1 x I
0 43 2 y I
0 43 3 width I
0 43 4 height I
8 35 5 createBB Z
9 35 6 newW I
10 35 7 newH I
12 29 8 imgWidth I
13 29 9 imgHeight I
17 29 10 oldW I
18 29 11 oldH I
Exception table:
from to target type
5 31 36 any
34 36 36 any
MethodParameters:
Name Flags
x
y
width
height
private void resizeBuffer(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.awt.image.BufferedImage
dup
iload 1
iload 3
imul
iload 2
iload 3
imul
1: iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
2: putfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
3: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 4
start local 4 4: getstatic sun.swing.JLightweightFrame.copyBufferEnabled:Z
ifeq 7
5: aload 0
iconst_1
iconst_0
iconst_0
iload 1
iload 2
iload 3
invokevirtual sun.swing.JLightweightFrame.syncCopyBuffer:(ZIIIII)V
6: aload 0
getfield sun.swing.JLightweightFrame.copyBuffer:[I
astore 4
7: StackMap locals: int[]
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
aload 4
iconst_0
iconst_0
iload 1
iload 2
8: iload 1
iload 3
imul
iload 3
9: invokeinterface sun.swing.LightweightContent.imageBufferReset:([IIIIIII)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/swing/JLightweightFrame;
0 11 1 width I
0 11 2 height I
0 11 3 newScaleFactor I
4 11 4 pixels [I
MethodParameters:
Name Flags
width
height
newScaleFactor
public javax.swing.JRootPane getRootPane();
descriptor: ()Ljavax/swing/JRootPane;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.JLightweightFrame.rootPane:Ljavax/swing/JRootPane;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/JLightweightFrame;
public void setContentPane(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
aload 1
invokevirtual javax.swing.JRootPane.setContentPane:(Ljava/awt/Container;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/JLightweightFrame;
0 2 1 contentPane Ljava/awt/Container;
MethodParameters:
Name Flags
contentPane
public java.awt.Container getContentPane();
descriptor: ()Ljava/awt/Container;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getContentPane:()Ljava/awt/Container;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/JLightweightFrame;
public void setLayeredPane(javax.swing.JLayeredPane);
descriptor: (Ljavax/swing/JLayeredPane;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
aload 1
invokevirtual javax.swing.JRootPane.setLayeredPane:(Ljavax/swing/JLayeredPane;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/JLightweightFrame;
0 2 1 layeredPane Ljavax/swing/JLayeredPane;
MethodParameters:
Name Flags
layeredPane
public javax.swing.JLayeredPane getLayeredPane();
descriptor: ()Ljavax/swing/JLayeredPane;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getLayeredPane:()Ljavax/swing/JLayeredPane;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/JLightweightFrame;
public void setGlassPane(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
aload 1
invokevirtual javax.swing.JRootPane.setGlassPane:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/JLightweightFrame;
0 2 1 glassPane Ljava/awt/Component;
MethodParameters:
Name Flags
glassPane
public java.awt.Component getGlassPane();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.swing.JLightweightFrame.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.getGlassPane:()Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/JLightweightFrame;
private void updateClientCursor();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic java.awt.MouseInfo.getPointerInfo:()Ljava/awt/PointerInfo;
invokevirtual java.awt.PointerInfo.getLocation:()Ljava/awt/Point;
astore 1
start local 1 1: aload 1
aload 0
invokestatic javax.swing.SwingUtilities.convertPointFromScreen:(Ljava/awt/Point;Ljava/awt/Component;)V
2: aload 0
aload 1
getfield java.awt.Point.x:I
aload 1
getfield java.awt.Point.y:I
invokestatic javax.swing.SwingUtilities.getDeepestComponentAt:(Ljava/awt/Component;II)Ljava/awt/Component;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
aload 2
invokevirtual java.awt.Component.getCursor:()Ljava/awt/Cursor;
invokeinterface sun.swing.LightweightContent.setCursor:(Ljava/awt/Cursor;)V
5: StackMap locals: java.awt.Point java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/JLightweightFrame;
1 6 1 p Ljava/awt/Point;
3 6 2 target Ljava/awt/Component;
public void overrideNativeWindowHandle(long, java.lang.Runnable);
descriptor: (JLjava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 3 0: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
astore 4
start local 4 1: aload 4
instanceof sun.awt.OverrideNativeWindowHandle
ifeq 3
2: aload 4
checkcast sun.awt.OverrideNativeWindowHandle
lload 1
invokeinterface sun.awt.OverrideNativeWindowHandle.overrideWindowHandle:(J)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 3
ifnull 5
4: aload 3
invokeinterface java.lang.Runnable.run:()V
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/JLightweightFrame;
0 6 1 handle J
0 6 3 closeWindow Ljava/lang/Runnable;
1 6 4 peer Ljava/lang/Object;
MethodParameters:
Name Flags
handle
closeWindow
public <T extends java.awt.dnd.DragGestureRecognizer> T createDragGestureRecognizer(java.lang.Class<T>, java.awt.dnd.DragSource, java.awt.Component, int, java.awt.dnd.DragGestureListener);
descriptor: (Ljava/lang/Class;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)Ljava/awt/dnd/DragGestureRecognizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnonnull 1
aconst_null
goto 4
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
2: aload 1
aload 2
aload 3
iload 4
aload 5
3: invokeinterface sun.swing.LightweightContent.createDragGestureRecognizer:(Ljava/lang/Class;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)Ljava/awt/dnd/DragGestureRecognizer;
StackMap locals:
StackMap stack: java.awt.dnd.DragGestureRecognizer
4: areturn
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 5 0 this Lsun/swing/JLightweightFrame;
0 5 1 abstractRecognizerClass Ljava/lang/Class<TT;>;
0 5 2 ds Ljava/awt/dnd/DragSource;
0 5 3 c Ljava/awt/Component;
0 5 4 srcActions I
0 5 5 dgl Ljava/awt/dnd/DragGestureListener;
Signature: <T:Ljava/awt/dnd/DragGestureRecognizer;>(Ljava/lang/Class<TT;>;Ljava/awt/dnd/DragSource;Ljava/awt/Component;ILjava/awt/dnd/DragGestureListener;)TT;
MethodParameters:
Name Flags
abstractRecognizerClass
ds
c
srcActions
dgl
public java.awt.dnd.peer.DragSourceContextPeer createDragSourceContextPeer(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)Ljava/awt/dnd/peer/DragSourceContextPeer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
aload 1
invokeinterface sun.swing.LightweightContent.createDragSourceContextPeer:(Ljava/awt/dnd/DragGestureEvent;)Ljava/awt/dnd/peer/DragSourceContextPeer;
StackMap locals:
StackMap stack: java.awt.dnd.peer.DragSourceContextPeer
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/JLightweightFrame;
0 3 1 dge Ljava/awt/dnd/DragGestureEvent;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dge
public void addDropTarget(java.awt.dnd.DropTarget);
descriptor: (Ljava/awt/dnd/DropTarget;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
aload 1
invokeinterface sun.swing.LightweightContent.addDropTarget:(Ljava/awt/dnd/DropTarget;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/JLightweightFrame;
0 3 1 dt Ljava/awt/dnd/DropTarget;
MethodParameters:
Name Flags
dt
public void removeDropTarget(java.awt.dnd.DropTarget);
descriptor: (Ljava/awt/dnd/DropTarget;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.JLightweightFrame.content:Lsun/swing/LightweightContent;
aload 1
invokeinterface sun.swing.LightweightContent.removeDropTarget:(Ljava/awt/dnd/DropTarget;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/JLightweightFrame;
0 3 1 dt Ljava/awt/dnd/DropTarget;
MethodParameters:
Name Flags
dt
private void lambda$0(javax.swing.JComponent, int, int, int, int);
descriptor: (Ljavax/swing/JComponent;IIII)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokestatic javax.swing.SwingUtilities.getWindowAncestor:(Ljava/awt/Component;)Ljava/awt/Window;
astore 6
start local 6 1: aload 6
aload 0
if_acmpeq 3
2: return
3: StackMap locals: java.awt.Window
StackMap stack:
aload 1
iload 2
iload 3
aload 6
invokestatic javax.swing.SwingUtilities.convertPoint:(Ljava/awt/Component;IILjava/awt/Component;)Ljava/awt/Point;
astore 7
start local 7 4: new java.awt.Rectangle
dup
aload 7
getfield java.awt.Point.x:I
aload 7
getfield java.awt.Point.y:I
iload 4
iload 5
invokespecial java.awt.Rectangle.<init>:(IIII)V
5: new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getWidth:()I
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
idiv
6: aload 0
getfield sun.swing.JLightweightFrame.bbImage:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getHeight:()I
aload 0
getfield sun.swing.JLightweightFrame.scaleFactor:I
idiv
7: invokespecial java.awt.Rectangle.<init>:(IIII)V
8: invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 8
start local 8 9: aload 8
invokevirtual java.awt.Rectangle.isEmpty:()Z
ifne 11
10: aload 0
aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.width:I
aload 8
getfield java.awt.Rectangle.height:I
invokevirtual sun.swing.JLightweightFrame.notifyImageUpdated:(IIII)V
end local 8 end local 7 end local 6 11: StackMap locals:
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 Lsun/swing/JLightweightFrame;
0 12 1 c Ljavax/swing/JComponent;
0 12 2 x I
0 12 3 y I
0 12 4 w I
0 12 5 h I
1 11 6 jlf Ljava/awt/Window;
4 11 7 p Ljava/awt/Point;
9 11 8 r Ljava/awt/Rectangle;
}
SourceFile: "JLightweightFrame.java"
NestMembers:
sun.swing.JLightweightFrame$1 sun.swing.JLightweightFrame$2 sun.swing.JLightweightFrame$3 sun.swing.JLightweightFrame$3$1 sun.swing.JLightweightFrame$4
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
sun.swing.JLightweightFrame$1
sun.swing.JLightweightFrame$2
sun.swing.JLightweightFrame$3
sun.swing.JLightweightFrame$4
public abstract JLightweightFrameAccessor = sun.swing.SwingAccessor$JLightweightFrameAccessor of sun.swing.SwingAccessor
public abstract RepaintManagerAccessor = sun.swing.SwingAccessor$RepaintManagerAccessor of sun.swing.SwingAccessor
public abstract RepaintListener = sun.swing.SwingUtilities2$RepaintListener of sun.swing.SwingUtilities2