public class sun.awt.windows.WEmbeddedFrame extends sun.awt.EmbeddedFrame
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.windows.WEmbeddedFrame
super_class: sun.awt.EmbeddedFrame
{
private long handle;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int bandWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int bandHeight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int imgWid;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int imgHgt;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static int pScale;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int MAX_BAND_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30720
private static java.lang.String printScale;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic sun.awt.windows.WEmbeddedFrame.initIDs:()V
1: iconst_0
putstatic sun.awt.windows.WEmbeddedFrame.pScale:I
2: new sun.security.action.GetPropertyAction
dup
ldc "sun.java2d.print.pluginscalefactor"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
3: putstatic sun.awt.windows.WEmbeddedFrame.printScale:Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
invokespecial sun.awt.windows.WEmbeddedFrame.<init>:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WEmbeddedFrame;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
i2l
invokespecial sun.awt.windows.WEmbeddedFrame.<init>:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WEmbeddedFrame;
0 2 1 handle I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
handle
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.awt.EmbeddedFrame.<init>:()V
1: aload 0
iconst_0
putfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
2: aload 0
iconst_0
putfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
3: aload 0
iconst_0
putfield sun.awt.windows.WEmbeddedFrame.imgWid:I
4: aload 0
iconst_0
putfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
5: aload 0
lload 1
putfield sun.awt.windows.WEmbeddedFrame.handle:J
6: lload 1
lconst_0
lcmp
ifeq 9
7: aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.addNotify:()V
8: aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.show:()V
9: StackMap locals: sun.awt.windows.WEmbeddedFrame long
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/windows/WEmbeddedFrame;
0 10 1 handle J
MethodParameters:
Name Flags
handle
public void addNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
ifnonnull 3
1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
checkcast sun.awt.windows.WToolkit
astore 1
start local 1 2: aload 0
aload 1
aload 0
invokevirtual sun.awt.windows.WToolkit.createEmbeddedFrame:(Lsun/awt/windows/WEmbeddedFrame;)Lsun/awt/windows/WEmbeddedFramePeer;
invokevirtual sun.awt.windows.WEmbeddedFrame.setPeer:(Ljava/awt/peer/ComponentPeer;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.EmbeddedFrame.addNotify:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WEmbeddedFrame;
2 3 1 toolkit Lsun/awt/windows/WToolkit;
public long getEmbedderHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WEmbeddedFrame.handle:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WEmbeddedFrame;
void print(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=13, locals=15, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: iconst_1
istore 4
start local 4 2: iconst_1
istore 5
start local 5 3: aload 0
lload 1
invokevirtual sun.awt.windows.WEmbeddedFrame.isPrinterDC:(J)Z
ifeq 5
4: invokestatic sun.awt.windows.WEmbeddedFrame.getPrintScaleFactor:()I
dup
istore 5
istore 4
5: StackMap locals: java.awt.image.BufferedImage int int
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.getHeight:()I
istore 6
start local 6 6: aload 3
ifnonnull 18
7: aload 0
aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.getWidth:()I
putfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
8: aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
iconst_4
irem
ifeq 10
9: aload 0
dup
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
iconst_4
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
iconst_4
irem
isub
iadd
putfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
10: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
ifgt 12
11: return
12: StackMap locals:
StackMap stack:
aload 0
sipush 30720
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
idiv
iload 6
invokestatic java.lang.Math.min:(II)I
putfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
13: aload 0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
iload 4
imul
putfield sun.awt.windows.WEmbeddedFrame.imgWid:I
14: aload 0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
iload 5
imul
putfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
15: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgWid:I
aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
16: iconst_5
17: invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 3
18: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.image.BufferedImage.getGraphics:()Ljava/awt/Graphics;
astore 7
start local 7 19: aload 7
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: aload 3
invokevirtual java.awt.image.BufferedImage.getGraphics:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 8
start local 8 21: aload 8
iconst_0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
invokevirtual java.awt.Graphics2D.translate:(II)V
22: aload 8
iload 4
i2d
iload 5
ineg
i2d
invokevirtual java.awt.Graphics2D.scale:(DD)V
23: aload 3
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
checkcast sun.awt.image.ByteInterleavedRaster
astore 9
start local 9 24: aload 9
invokevirtual sun.awt.image.ByteInterleavedRaster.getDataStorage:()[B
astore 10
start local 10 25: iconst_0
istore 11
start local 11 26: goto 42
27: StackMap locals: sun.awt.windows.WEmbeddedFrame long java.awt.image.BufferedImage int int int java.awt.Graphics java.awt.Graphics2D sun.awt.image.ByteInterleavedRaster byte[] int
StackMap stack:
aload 7
iconst_0
iconst_0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
28: aload 0
aload 8
invokevirtual sun.awt.windows.WEmbeddedFrame.printComponents:(Ljava/awt/Graphics;)V
29: iconst_0
istore 12
start local 12 30: aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
istore 13
start local 13 31: aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
istore 14
start local 14 32: iload 11
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
iadd
iload 6
if_icmple 36
33: iload 6
iload 11
isub
istore 13
34: iload 13
iload 5
imul
istore 14
35: aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgWid:I
aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgHgt:I
iload 14
isub
imul
iconst_3
imul
istore 12
36: StackMap locals: int int int
StackMap stack:
aload 0
lload 1
aload 10
iload 12
37: iconst_0
iconst_0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.imgWid:I
iload 14
38: iconst_0
iload 11
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandWidth:I
iload 13
39: invokevirtual sun.awt.windows.WEmbeddedFrame.printBand:(J[BIIIIIIIII)V
40: aload 8
iconst_0
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
end local 14 end local 13 end local 12 41: iload 11
aload 0
getfield sun.awt.windows.WEmbeddedFrame.bandHeight:I
iadd
istore 11
StackMap locals:
StackMap stack:
42: iload 11
iload 6
if_icmplt 27
end local 11 43: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/awt/windows/WEmbeddedFrame;
0 44 1 hdc J
1 44 3 bandImage Ljava/awt/image/BufferedImage;
2 44 4 xscale I
3 44 5 yscale I
6 44 6 frameHeight I
19 44 7 clearGraphics Ljava/awt/Graphics;
21 44 8 g2d Ljava/awt/Graphics2D;
24 44 9 ras Lsun/awt/image/ByteInterleavedRaster;
25 44 10 data [B
26 43 11 bandTop I
30 41 12 imageOffset I
31 41 13 currBandHeight I
32 41 14 currImgHeight I
MethodParameters:
Name Flags
hdc
protected static int getPrintScaleFactor();
descriptor: ()I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic sun.awt.windows.WEmbeddedFrame.pScale:I
ifeq 2
1: getstatic sun.awt.windows.WEmbeddedFrame.pScale:I
ireturn
2: StackMap locals:
StackMap stack:
getstatic sun.awt.windows.WEmbeddedFrame.printScale:Ljava/lang/String;
ifnonnull 5
3: new sun.awt.windows.WEmbeddedFrame$1
dup
invokespecial sun.awt.windows.WEmbeddedFrame$1.<init>:()V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.awt.windows.WEmbeddedFrame.printScale:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
iconst_4
istore 0
start local 0 6: iload 0
istore 1
start local 1 7: getstatic sun.awt.windows.WEmbeddedFrame.printScale:Ljava/lang/String;
ifnull 13
8: getstatic sun.awt.windows.WEmbeddedFrame.printScale:Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
9: iload 1
bipush 8
if_icmpgt 10
iload 1
iconst_1
if_icmpge 13
10: StackMap locals: int int
StackMap stack:
iload 0
istore 1
11: goto 13
StackMap locals:
StackMap stack: java.lang.NumberFormatException
12: pop
13: StackMap locals:
StackMap stack:
iload 1
putstatic sun.awt.windows.WEmbeddedFrame.pScale:I
14: getstatic sun.awt.windows.WEmbeddedFrame.pScale:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
6 15 0 default_printDC_scale I
7 15 1 scale I
Exception table:
from to target type
8 11 12 Class java.lang.NumberFormatException
protected native boolean isPrinterDC(long);
descriptor: (J)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
hdc
protected native void printBand(long, byte[], int, int, int, int, int, int, int, int, int);
descriptor: (J[BIIIIIIIII)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
hdc
data
offset
sx
sy
swidth
sheight
dx
dy
dwidth
dheight
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public void activateEmbeddingTopLevel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WEmbeddedFrame;
public void synthesizeWindowActivation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
invokestatic java.awt.EventQueue.isDispatchThread:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.windows.WEmbeddedFrame.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.windows.WEmbeddedFramePeer
iload 1
invokevirtual sun.awt.windows.WEmbeddedFramePeer.synthesizeWmActivate:(Z)V
2: goto 7
3: StackMap locals:
StackMap stack:
new sun.awt.windows.WEmbeddedFrame$2
dup
aload 0
invokespecial sun.awt.windows.WEmbeddedFrame$2.<init>:(Lsun/awt/windows/WEmbeddedFrame;)V
astore 2
start local 2 4: aload 0
invokestatic sun.awt.windows.WToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
5: new java.awt.event.InvocationEvent
dup
aload 0
aload 2
invokespecial java.awt.event.InvocationEvent.<init>:(Ljava/lang/Object;Ljava/lang/Runnable;)V
6: invokestatic sun.awt.windows.WToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/windows/WEmbeddedFrame;
0 8 1 doActivate Z
4 7 2 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
doActivate final
public void registerAccelerator(java.awt.AWTKeyStroke);
descriptor: (Ljava/awt/AWTKeyStroke;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WEmbeddedFrame;
0 1 1 stroke Ljava/awt/AWTKeyStroke;
MethodParameters:
Name Flags
stroke
public void unregisterAccelerator(java.awt.AWTKeyStroke);
descriptor: (Ljava/awt/AWTKeyStroke;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WEmbeddedFrame;
0 1 1 stroke Ljava/awt/AWTKeyStroke;
MethodParameters:
Name Flags
stroke
public void notifyModalBlocked(java.awt.Dialog, boolean);
descriptor: (Ljava/awt/Dialog;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.peer.ComponentPeer
astore 3
start local 3 1: aload 1
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.peer.ComponentPeer
astore 4
start local 4 2: aload 0
aload 3
checkcast sun.awt.windows.WEmbeddedFramePeer
3: aload 4
checkcast sun.awt.windows.WWindowPeer
iload 2
4: invokevirtual sun.awt.windows.WEmbeddedFrame.notifyModalBlockedImpl:(Lsun/awt/windows/WEmbeddedFramePeer;Lsun/awt/windows/WWindowPeer;Z)V
end local 4 end local 3 5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 3
start local 3 7: aload 3
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/windows/WEmbeddedFrame;
0 9 1 blocker Ljava/awt/Dialog;
0 9 2 blocked Z
1 5 3 thisPeer Ljava/awt/peer/ComponentPeer;
2 5 4 blockerPeer Ljava/awt/peer/ComponentPeer;
7 8 3 z Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
blocker
blocked
native void notifyModalBlockedImpl(sun.awt.windows.WEmbeddedFramePeer, sun.awt.windows.WWindowPeer, boolean);
descriptor: (Lsun/awt/windows/WEmbeddedFramePeer;Lsun/awt/windows/WWindowPeer;Z)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
peer
blockerPeer
blocked
}
SourceFile: "WEmbeddedFrame.java"
NestMembers:
sun.awt.windows.WEmbeddedFrame$1 sun.awt.windows.WEmbeddedFrame$2
InnerClasses:
sun.awt.windows.WEmbeddedFrame$1
sun.awt.windows.WEmbeddedFrame$2