class sun.awt.windows.WFramePeer extends sun.awt.windows.WWindowPeer implements java.awt.peer.FramePeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WFramePeer
super_class: sun.awt.windows.WWindowPeer
{
private static final boolean keepOnMinimize;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic sun.awt.windows.WFramePeer.initIDs:()V
1: ldc "true"
2: new sun.security.action.GetPropertyAction
dup
3: ldc "sun.awt.keepWorkingSetOnMinimize"
4: invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
6: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.awt.windows.WFramePeer.keepOnMinimize:Z
7: return
LocalVariableTable:
Start End Slot Name Signature
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public native void setState(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
state
public native int getState();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public void setExtendedState(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.AWTAccessor.getFrameAccessor:()Lsun/awt/AWTAccessor$FrameAccessor;
aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
iload 1
invokeinterface sun.awt.AWTAccessor$FrameAccessor.setExtendedState:(Ljava/awt/Frame;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WFramePeer;
0 2 1 state I
MethodParameters:
Name Flags
state
public int getExtendedState();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.AWTAccessor.getFrameAccessor:()Lsun/awt/AWTAccessor$FrameAccessor;
aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokeinterface sun.awt.AWTAccessor$FrameAccessor.getExtendedState:(Ljava/awt/Frame;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFramePeer;
private native void setMaximizedBounds(int, int, int, int);
descriptor: (IIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
x
y
w
h
private native void clearMaximizedBounds();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public final void setMaximizedBounds(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual sun.awt.windows.WFramePeer.clearMaximizedBounds:()V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.windows.WFramePeer.adjustMaximizedBounds:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 1
4: aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
invokevirtual sun.awt.windows.WFramePeer.setMaximizedBounds:(IIII)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WFramePeer;
0 6 1 b Ljava/awt/Rectangle;
MethodParameters:
Name Flags
b
private java.awt.Rectangle adjustMaximizedBounds(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.java2d.SunGraphicsEnvironment.toDeviceSpaceAbs:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 1
1: aload 0
invokevirtual sun.awt.windows.WFramePeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 2
start local 2 2: aload 2
invokestatic sun.java2d.SunGraphicsEnvironment.getGCDeviceBounds:(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Rectangle;
astore 3
start local 3 3: aload 1
dup
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.x:I
isub
putfield java.awt.Rectangle.x:I
4: aload 1
dup
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.y:I
isub
putfield java.awt.Rectangle.y:I
5: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WFramePeer;
0 6 1 bounds Ljava/awt/Rectangle;
2 6 2 gc Ljava/awt/GraphicsConfiguration;
3 6 3 currentDevBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
bounds
public boolean updateGraphicsData(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WWindowPeer.updateGraphicsData:(Ljava/awt/GraphicsConfiguration;)Z
istore 2
start local 2 1: invokestatic sun.awt.AWTAccessor.getFrameAccessor:()Lsun/awt/AWTAccessor$FrameAccessor;
2: aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokeinterface sun.awt.AWTAccessor$FrameAccessor.getMaximizedBounds:(Ljava/awt/Frame;)Ljava/awt/Rectangle;
3: astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
aload 3
invokevirtual sun.awt.windows.WFramePeer.setMaximizedBounds:(Ljava/awt/Rectangle;)V
6: StackMap locals: int java.awt.Rectangle
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WFramePeer;
0 7 1 gc Ljava/awt/GraphicsConfiguration;
1 7 2 result Z
4 7 3 bounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
gc
boolean isTargetUndecorated();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokevirtual java.awt.Frame.isUndecorated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFramePeer;
public void reshape(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
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 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokevirtual java.awt.Frame.isUndecorated:()Z
ifeq 3
1: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.windows.WWindowPeer.reshape:(IIII)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
invokevirtual sun.awt.windows.WFramePeer.reshapeFrame:(IIII)V
4: 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 5 0 this Lsun/awt/windows/WFramePeer;
0 5 1 x I
0 5 2 y I
0 5 3 width I
0 5 4 height I
MethodParameters:
Name Flags
x
y
width
height
public final java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WFramePeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 1
start local 1 1: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 2
start local 2 2: aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokevirtual java.awt.Frame.isUndecorated:()Z
ifne 4
3: aload 2
aload 1
invokestatic sun.awt.windows.WFramePeer.getSysMinWidth:()I
invokestatic sun.awt.windows.WFramePeer.getSysMinHeight:()I
invokestatic sun.java2d.SunGraphicsEnvironment.toUserSpace:(Ljava/awt/GraphicsConfiguration;II)Ljava/awt/Dimension;
invokevirtual java.awt.Dimension.setSize:(Ljava/awt/Dimension;)V
4: StackMap locals: java.awt.GraphicsConfiguration java.awt.Dimension
StackMap stack:
aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
invokevirtual java.awt.Frame.getMenuBar:()Ljava/awt/MenuBar;
ifnull 6
5: aload 2
dup
getfield java.awt.Dimension.height:I
aload 1
iconst_0
invokestatic sun.awt.windows.WFramePeer.getSysMenuHeight:()I
invokestatic sun.java2d.SunGraphicsEnvironment.toUserSpace:(Ljava/awt/GraphicsConfiguration;II)Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
iadd
putfield java.awt.Dimension.height:I
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WFramePeer;
1 7 1 gc Ljava/awt/GraphicsConfiguration;
2 7 2 d Ljava/awt/Dimension;
public void (java.awt.MenuBar);
descriptor: (Ljava/awt/MenuBar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuBarPeer
astore 2
start local 2 1: aload 2
ifnull 10
2: aload 2
getfield sun.awt.windows.WMenuBarPeer.framePeer:Lsun/awt/windows/WFramePeer;
aload 0
if_acmpeq 8
3: aload 1
invokevirtual java.awt.MenuBar.removeNotify:()V
4: aload 1
invokevirtual java.awt.MenuBar.addNotify:()V
5: aload 1
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WMenuBarPeer
astore 2
6: aload 2
ifnull 8
aload 2
getfield sun.awt.windows.WMenuBarPeer.framePeer:Lsun/awt/windows/WFramePeer;
aload 0
if_acmpeq 8
7: new java.lang.IllegalStateException
dup
ldc "Wrong parent peer"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: sun.awt.windows.WMenuBarPeer
StackMap stack:
aload 2
ifnull 10
9: aload 0
aload 2
invokevirtual sun.awt.windows.WFramePeer.addChildPeer:(Lsun/awt/windows/WObjectPeer;)V
10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.awt.windows.WFramePeer.setMenuBar0:(Lsun/awt/windows/WMenuBarPeer;)V
11: aload 0
aload 0
getfield sun.awt.windows.WFramePeer.insets_:Ljava/awt/Insets;
invokevirtual sun.awt.windows.WFramePeer.updateInsets:(Ljava/awt/Insets;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/windows/WFramePeer;
0 13 1 mb Ljava/awt/MenuBar;
1 13 2 mbPeer Lsun/awt/windows/WMenuBarPeer;
MethodParameters:
Name Flags
mb
private native void (sun.awt.windows.WMenuBarPeer);
descriptor: (Lsun/awt/windows/WMenuBarPeer;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
mbPeer
void <init>(java.awt.Frame);
descriptor: (Ljava/awt/Frame;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WWindowPeer.<init>:(Ljava/awt/Window;)V
1: invokestatic sun.awt.im.InputMethodManager.getInstance:()Lsun/awt/im/InputMethodManager;
astore 2
start local 2 2: aload 2
invokevirtual sun.awt.im.InputMethodManager.getTriggerMenuString:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 0
aload 3
invokevirtual sun.awt.windows.WFramePeer.pSetIMMOption:(Ljava/lang/String;)V
5: StackMap locals: sun.awt.windows.WFramePeer java.awt.Frame sun.awt.im.InputMethodManager java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WFramePeer;
0 6 1 target Ljava/awt/Frame;
2 6 2 imm Lsun/awt/im/InputMethodManager;
3 6 3 menuString Ljava/lang/String;
MethodParameters:
Name Flags
target
native void createAwtFrame(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.windows.WFramePeer.preCreate:(Lsun/awt/windows/WComponentPeer;)V
1: aload 0
aload 1
invokevirtual sun.awt.windows.WFramePeer.createAwtFrame:(Lsun/awt/windows/WComponentPeer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WFramePeer;
0 3 1 parent Lsun/awt/windows/WComponentPeer;
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.windows.WWindowPeer.initialize:()V
1: aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Frame
astore 1
start local 1 2: aload 1
invokevirtual java.awt.Frame.getTitle:()Ljava/lang/String;
ifnull 4
3: aload 0
aload 1
invokevirtual java.awt.Frame.getTitle:()Ljava/lang/String;
invokevirtual sun.awt.windows.WFramePeer.setTitle:(Ljava/lang/String;)V
4: StackMap locals: java.awt.Frame
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.Frame.isResizable:()Z
invokevirtual sun.awt.windows.WFramePeer.setResizable:(Z)V
5: aload 0
aload 1
invokevirtual java.awt.Frame.getExtendedState:()I
invokevirtual sun.awt.windows.WFramePeer.setState:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WFramePeer;
2 7 1 target Ljava/awt/Frame;
private static native int ();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
native void pSetIMMOption(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
option
void notifyIMMOptionChange();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.im.InputMethodManager.getInstance:()Lsun/awt/im/InputMethodManager;
aload 0
getfield sun.awt.windows.WFramePeer.target:Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual sun.awt.im.InputMethodManager.notifyChangeRequest:(Ljava/awt/Component;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WFramePeer;
public void setBoundsPrivate(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, 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
iconst_3
invokevirtual sun.awt.windows.WFramePeer.setBounds:(IIIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WFramePeer;
0 2 1 x I
0 2 2 y I
0 2 3 width I
0 2 4 height I
MethodParameters:
Name Flags
x
y
width
height
public java.awt.Rectangle getBoundsPrivate();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WFramePeer.getBounds:()Ljava/awt/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFramePeer;
public void emulateActivation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.windows.WFramePeer.synthesizeWmActivate:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WFramePeer;
0 2 1 activate Z
MethodParameters:
Name Flags
activate
private native void synthesizeWmActivate(boolean);
descriptor: (Z)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
activate
}
SourceFile: "WFramePeer.java"
InnerClasses:
public abstract FrameAccessor = sun.awt.AWTAccessor$FrameAccessor of sun.awt.AWTAccessor