public class sun.awt.Win32GraphicsDevice extends java.awt.GraphicsDevice implements sun.awt.DisplayChangedListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.Win32GraphicsDevice
super_class: java.awt.GraphicsDevice
{
int screen;
descriptor: I
flags: (0x0000)
java.awt.image.ColorModel dynamicColorModel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0000)
java.awt.image.ColorModel colorModel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0000)
protected java.awt.GraphicsConfiguration[] configs;
descriptor: [Ljava/awt/GraphicsConfiguration;
flags: (0x0004) ACC_PROTECTED
protected java.awt.GraphicsConfiguration defaultConfig;
descriptor: Ljava/awt/GraphicsConfiguration;
flags: (0x0004) ACC_PROTECTED
private final java.lang.String idString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected java.lang.String descString;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private boolean valid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.awt.SunDisplayChanger topLevels;
descriptor: Lsun/awt/SunDisplayChanger;
flags: (0x0002) ACC_PRIVATE
protected static boolean pfDisabled;
descriptor: Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static java.awt.AWTPermission fullScreenExclusivePermission;
descriptor: Ljava/awt/AWTPermission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.awt.DisplayMode defaultDisplayMode;
descriptor: Ljava/awt/DisplayMode;
flags: (0x0002) ACC_PRIVATE
private java.awt.event.WindowListener fsWindowListener;
descriptor: Ljava/awt/event/WindowListener;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "sun.awt.nopixfmt"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: aload 0
ifnull 3
iconst_1
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: putstatic sun.awt.Win32GraphicsDevice.pfDisabled:Z
5: invokestatic sun.awt.Win32GraphicsDevice.initIDs:()V
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
2 6 0 nopixfmt Ljava/lang/String;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
native void initDevice(int);
descriptor: (I)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
screen
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.GraphicsDevice.<init>:()V
1: aload 0
new sun.awt.SunDisplayChanger
dup
invokespecial sun.awt.SunDisplayChanger.<init>:()V
putfield sun.awt.Win32GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
2: aload 0
iload 1
putfield sun.awt.Win32GraphicsDevice.screen:I
3: aload 0
new java.lang.StringBuilder
dup
ldc "\\Display"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.awt.Win32GraphicsDevice.idString:Ljava/lang/String;
4: aload 0
new java.lang.StringBuilder
dup
ldc "Win32GraphicsDevice[screen="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.awt.Win32GraphicsDevice.descString:Ljava/lang/String;
5: aload 0
iconst_1
putfield sun.awt.Win32GraphicsDevice.valid:Z
6: aload 0
iload 1
invokevirtual sun.awt.Win32GraphicsDevice.initDevice:(I)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/Win32GraphicsDevice;
0 8 1 screennum I
MethodParameters:
Name Flags
screennum
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/Win32GraphicsDevice;
public int getScreen();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/Win32GraphicsDevice;
public boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.valid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/Win32GraphicsDevice;
protected void invalidate(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield sun.awt.Win32GraphicsDevice.valid:Z
1: aload 0
iload 1
putfield sun.awt.Win32GraphicsDevice.screen:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
0 3 1 defaultScreen I
MethodParameters:
Name Flags
defaultScreen
public java.lang.String getIDstring();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.idString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/Win32GraphicsDevice;
public java.awt.GraphicsConfiguration[] getConfigurations();
descriptor: ()[Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
ifnonnull 32
1: invokestatic sun.java2d.windows.WindowsFlags.isOGLEnabled:()Z
ifeq 7
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isDefaultDevice:()Z
ifeq 7
2: aload 0
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
3: aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnull 7
4: aload 0
iconst_1
anewarray java.awt.GraphicsConfiguration
putfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
5: aload 0
getfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
iconst_0
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
aastore
6: aload 0
getfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration[].clone:()Ljava/lang/Object;
checkcast java.awt.GraphicsConfiguration[]
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual sun.awt.Win32GraphicsDevice.getMaxConfigs:(I)I
istore 1
start local 1 8: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual sun.awt.Win32GraphicsDevice.getDefaultPixID:(I)I
istore 2
start local 2 9: new java.util.Vector
dup
iload 1
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 10: iload 2
ifne 16
11: aload 0
aload 0
12: iload 2
13: invokestatic sun.awt.Win32GraphicsConfig.getConfig:(Lsun/awt/Win32GraphicsDevice;I)Lsun/awt/Win32GraphicsConfig;
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
14: aload 3
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
15: goto 30
16: StackMap locals: int int java.util.Vector
StackMap stack:
iconst_1
istore 4
start local 4 17: goto 29
18: StackMap locals: int
StackMap stack:
aload 0
iload 4
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual sun.awt.Win32GraphicsDevice.isPixFmtSupported:(II)Z
ifeq 28
19: iload 4
iload 2
if_icmpne 25
20: aload 0
21: aload 0
iload 4
22: invokestatic sun.awt.Win32GraphicsConfig.getConfig:(Lsun/awt/Win32GraphicsDevice;I)Lsun/awt/Win32GraphicsConfig;
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
23: aload 3
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
24: goto 28
25: StackMap locals:
StackMap stack:
aload 3
26: aload 0
iload 4
27: invokestatic sun.awt.Win32GraphicsConfig.getConfig:(Lsun/awt/Win32GraphicsDevice;I)Lsun/awt/Win32GraphicsConfig;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
29: iload 4
iload 1
if_icmple 18
end local 4 30: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.util.Vector.size:()I
anewarray java.awt.GraphicsConfiguration
putfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
31: aload 3
aload 0
getfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
end local 3 end local 2 end local 1 32: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration[].clone:()Ljava/lang/Object;
checkcast java.awt.GraphicsConfiguration[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/awt/Win32GraphicsDevice;
8 32 1 max I
9 32 2 defaultPixID I
10 32 3 v Ljava/util/Vector;
17 30 4 i I
protected int getMaxConfigs(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.awt.Win32GraphicsDevice.pfDisabled:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.Win32GraphicsDevice.getMaxConfigsImpl:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
0 3 1 screen I
MethodParameters:
Name Flags
screen
private native int getMaxConfigsImpl(int);
descriptor: (I)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
screen
protected native boolean isPixFmtSupported(int, int);
descriptor: (II)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
protected int getDefaultPixID(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.awt.Win32GraphicsDevice.pfDisabled:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.Win32GraphicsDevice.getDefaultPixIDImpl:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
0 3 1 screen I
MethodParameters:
Name Flags
screen
private native int getDefaultPixIDImpl(int);
descriptor: (I)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
screen
public java.awt.GraphicsConfiguration getDefaultConfiguration();
descriptor: ()Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 14
1: invokestatic sun.java2d.windows.WindowsFlags.isOGLEnabled:()Z
ifeq 12
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isDefaultDevice:()Z
ifeq 12
2: aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokestatic sun.java2d.opengl.WGLGraphicsConfig.getDefaultPixFmt:(I)I
istore 1
start local 1 3: aload 0
aload 0
iload 1
invokestatic sun.java2d.opengl.WGLGraphicsConfig.getConfig:(Lsun/awt/Win32GraphicsDevice;I)Lsun/java2d/opengl/WGLGraphicsConfig;
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
4: invokestatic sun.java2d.windows.WindowsFlags.isOGLVerbose:()Z
ifeq 12
5: aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnull 8
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "OpenGL pipeline enabled"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Could not enable OpenGL pipeline"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " for default config on screen "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 14
13: aload 0
aload 0
iconst_0
invokestatic sun.awt.Win32GraphicsConfig.getConfig:(Lsun/awt/Win32GraphicsDevice;I)Lsun/awt/Win32GraphicsConfig;
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/Win32GraphicsDevice;
3 12 1 defPixID I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.valid:Z
ifeq 1
new java.lang.StringBuilder
dup
aload 0
getfield sun.awt.Win32GraphicsDevice.descString:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
aload 0
getfield sun.awt.Win32GraphicsDevice.descString:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", removed]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
private boolean isDefaultDevice();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
2: if_acmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/Win32GraphicsDevice;
private static boolean isFSExclusiveModeAllowed();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 9
2: getstatic sun.awt.Win32GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
ifnonnull 5
3: new java.awt.AWTPermission
dup
ldc "fullScreenExclusive"
invokespecial java.awt.AWTPermission.<init>:(Ljava/lang/String;)V
4: putstatic sun.awt.Win32GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getstatic sun.awt.Win32GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
6: goto 9
StackMap locals:
StackMap stack: java.lang.SecurityException
7: pop
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 security Ljava/lang/SecurityManager;
Exception table:
from to target type
5 6 7 Class java.lang.SecurityException
public boolean isFullScreenSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.Win32GraphicsDevice.isFSExclusiveModeAllowed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/Win32GraphicsDevice;
public synchronized void setFullScreenWindow(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 2
start local 2 1: aload 1
aload 2
if_acmpne 3
2: return
3: StackMap locals: java.awt.Window
StackMap stack:
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isFullScreenSupported:()Z
ifne 6
4: aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setFullScreenWindow:(Ljava/awt/Window;)V
5: return
6: StackMap locals:
StackMap stack:
aload 2
ifnull 20
7: aload 0
getfield sun.awt.Win32GraphicsDevice.defaultDisplayMode:Ljava/awt/DisplayMode;
ifnull 10
8: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.defaultDisplayMode:Ljava/awt/DisplayMode;
invokevirtual sun.awt.Win32GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
9: aload 0
aconst_null
putfield sun.awt.Win32GraphicsDevice.defaultDisplayMode:Ljava/awt/DisplayMode;
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Window.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.windows.WWindowPeer
astore 3
start local 3 11: aload 3
ifnull 19
12: aload 3
iconst_0
invokevirtual sun.awt.windows.WWindowPeer.setFullScreenExclusiveModeState:(Z)V
13: aload 3
dup
astore 4
monitorenter
14: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
aload 3
invokevirtual sun.awt.Win32GraphicsDevice.exitFullScreenExclusive:(ILjava/awt/peer/WindowPeer;)V
15: aload 4
monitorexit
16: goto 19
StackMap locals: sun.awt.Win32GraphicsDevice java.awt.Window java.awt.Window sun.awt.windows.WWindowPeer sun.awt.windows.WWindowPeer
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.awt.Win32GraphicsDevice.removeFSWindowListener:(Ljava/awt/Window;)V
end local 3 20: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setFullScreenWindow:(Ljava/awt/Window;)V
21: aload 1
ifnull 34
22: aload 0
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getDisplayMode:()Ljava/awt/DisplayMode;
putfield sun.awt.Win32GraphicsDevice.defaultDisplayMode:Ljava/awt/DisplayMode;
23: aload 0
aload 1
invokevirtual sun.awt.Win32GraphicsDevice.addFSWindowListener:(Ljava/awt/Window;)V
24: aload 1
invokevirtual java.awt.Window.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.windows.WWindowPeer
astore 3
start local 3 25: aload 3
ifnull 33
26: aload 3
dup
astore 4
monitorenter
27: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
aload 3
invokevirtual sun.awt.Win32GraphicsDevice.enterFullScreenExclusive:(ILjava/awt/peer/WindowPeer;)V
28: aload 4
monitorexit
29: goto 32
StackMap locals: sun.awt.Win32GraphicsDevice java.awt.Window java.awt.Window sun.awt.windows.WWindowPeer sun.awt.windows.WWindowPeer
StackMap stack: java.lang.Throwable
30: aload 4
monitorexit
31: athrow
32: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual sun.awt.windows.WWindowPeer.setFullScreenExclusiveModeState:(Z)V
33: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.awt.windows.WWindowPeer.updateGC:()V
end local 3 34: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/awt/Win32GraphicsDevice;
0 35 1 w Ljava/awt/Window;
1 35 2 old Ljava/awt/Window;
11 20 3 peer Lsun/awt/windows/WWindowPeer;
25 34 3 peer Lsun/awt/windows/WWindowPeer;
Exception table:
from to target type
14 16 17 any
17 18 17 any
27 29 30 any
30 31 30 any
MethodParameters:
Name Flags
w
protected native void enterFullScreenExclusive(int, java.awt.peer.WindowPeer);
descriptor: (ILjava/awt/peer/WindowPeer;)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
screen
w
protected native void exitFullScreenExclusive(int, java.awt.peer.WindowPeer);
descriptor: (ILjava/awt/peer/WindowPeer;)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
screen
w
public boolean isDisplayChangeSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isFullScreenSupported:()Z
ifeq 1
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
ifnull 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/Win32GraphicsDevice;
public synchronized void setDisplayMode(java.awt.DisplayMode);
descriptor: (Ljava/awt/DisplayMode;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isDisplayChangeSupported:()Z
ifne 3
1: aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 0
aload 1
invokevirtual sun.awt.Win32GraphicsDevice.getMatchingDisplayMode:(Ljava/awt/DisplayMode;)Ljava/awt/DisplayMode;
dup
astore 1
ifnonnull 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid display mode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getDisplayMode:()Ljava/awt/DisplayMode;
aload 1
invokevirtual java.awt.DisplayMode.equals:(Ljava/awt/DisplayMode;)Z
ifeq 7
6: return
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 2
start local 2 8: aload 2
ifnull 18
9: aload 2
invokevirtual java.awt.Window.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.windows.WWindowPeer
astore 3
start local 3 10: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
aload 3
aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
11: aload 1
invokevirtual java.awt.DisplayMode.getBitDepth:()I
aload 1
invokevirtual java.awt.DisplayMode.getRefreshRate:()I
12: invokevirtual sun.awt.Win32GraphicsDevice.configDisplayMode:(ILjava/awt/peer/WindowPeer;IIII)V
13: aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 14: aload 2
aload 4
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Rectangle.y:I
15: aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
16: invokevirtual java.awt.Window.setBounds:(IIII)V
end local 4 end local 3 17: goto 19
18: StackMap locals: java.awt.Window
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Must be in fullscreen mode in order to set display mode"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
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/Win32GraphicsDevice;
0 20 1 dm Ljava/awt/DisplayMode;
8 20 2 w Ljava/awt/Window;
10 17 3 peer Lsun/awt/windows/WWindowPeer;
14 17 4 screenBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
dm
protected native java.awt.DisplayMode getCurrentDisplayMode(int);
descriptor: (I)Ljava/awt/DisplayMode;
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
screen
protected native void configDisplayMode(int, java.awt.peer.WindowPeer, int, int, int, int);
descriptor: (ILjava/awt/peer/WindowPeer;IIII)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
screen
w
width
height
bitDepth
refreshRate
protected native void enumDisplayModes(int, java.util.ArrayList);
descriptor: (ILjava/util/ArrayList;)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
screen
modes
public synchronized java.awt.DisplayMode getDisplayMode();
descriptor: ()Ljava/awt/DisplayMode;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
invokevirtual sun.awt.Win32GraphicsDevice.getCurrentDisplayMode:(I)Ljava/awt/DisplayMode;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/Win32GraphicsDevice;
1 2 1 res Ljava/awt/DisplayMode;
public synchronized java.awt.DisplayMode[] getDisplayModes();
descriptor: ()[Ljava/awt/DisplayMode;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
aload 1
invokevirtual sun.awt.Win32GraphicsDevice.enumDisplayModes:(ILjava/util/ArrayList;)V
2: aload 1
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 3: iload 2
anewarray java.awt.DisplayMode
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: sun.awt.Win32GraphicsDevice java.util.ArrayList int java.awt.DisplayMode[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.awt.DisplayMode
aastore
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 6
end local 4 9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/Win32GraphicsDevice;
1 10 1 modes Ljava/util/ArrayList;
3 10 2 listSize I
4 10 3 retArray [Ljava/awt/DisplayMode;
5 9 4 i I
protected synchronized java.awt.DisplayMode getMatchingDisplayMode(java.awt.DisplayMode);
descriptor: (Ljava/awt/DisplayMode;)Ljava/awt/DisplayMode;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.Win32GraphicsDevice.isDisplayChangeSupported:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getDisplayModes:()[Ljava/awt/DisplayMode;
astore 2
start local 2 3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: sun.awt.Win32GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] top int int java.awt.DisplayMode[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 1
aload 3
invokevirtual java.awt.DisplayMode.equals:(Ljava/awt/DisplayMode;)Z
ifne 10
6: aload 1
invokevirtual java.awt.DisplayMode.getRefreshRate:()I
ifne 11
7: aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 3
invokevirtual java.awt.DisplayMode.getWidth:()I
if_icmpne 11
8: aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
aload 3
invokevirtual java.awt.DisplayMode.getHeight:()I
if_icmpne 11
9: aload 1
invokevirtual java.awt.DisplayMode.getBitDepth:()I
aload 3
invokevirtual java.awt.DisplayMode.getBitDepth:()I
if_icmpne 11
10: StackMap locals: sun.awt.Win32GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] java.awt.DisplayMode int int java.awt.DisplayMode[]
StackMap stack:
aload 3
areturn
end local 3 11: StackMap locals: sun.awt.Win32GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] top int int java.awt.DisplayMode[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 4
13: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/Win32GraphicsDevice;
0 14 1 dm Ljava/awt/DisplayMode;
3 14 2 modes [Ljava/awt/DisplayMode;
5 11 3 mode Ljava/awt/DisplayMode;
MethodParameters:
Name Flags
dm
public void displayChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.awt.Win32GraphicsDevice.dynamicColorModel:Ljava/awt/image/ColorModel;
1: aload 0
aconst_null
putfield sun.awt.Win32GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
2: aload 0
aconst_null
putfield sun.awt.Win32GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
3: aload 0
getfield sun.awt.Win32GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/Win32GraphicsDevice;
public void paletteChanged();
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/Win32GraphicsDevice;
public void addDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.Win32GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.add:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/Win32GraphicsDevice;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
public void removeDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.Win32GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.remove:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/Win32GraphicsDevice;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
private native java.awt.image.ColorModel makeColorModel(int, boolean);
descriptor: (IZ)Ljava/awt/image/ColorModel;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
screen
dynamic
public java.awt.image.ColorModel getDynamicColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.dynamicColorModel:Ljava/awt/image/ColorModel;
ifnonnull 2
1: aload 0
aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
iconst_1
invokevirtual sun.awt.Win32GraphicsDevice.makeColorModel:(IZ)Ljava/awt/image/ColorModel;
putfield sun.awt.Win32GraphicsDevice.dynamicColorModel:Ljava/awt/image/ColorModel;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.Win32GraphicsDevice.dynamicColorModel:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
public java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.Win32GraphicsDevice.colorModel:Ljava/awt/image/ColorModel;
ifnonnull 2
1: aload 0
aload 0
aload 0
getfield sun.awt.Win32GraphicsDevice.screen:I
iconst_0
invokevirtual sun.awt.Win32GraphicsDevice.makeColorModel:(IZ)Ljava/awt/image/ColorModel;
putfield sun.awt.Win32GraphicsDevice.colorModel:Ljava/awt/image/ColorModel;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.Win32GraphicsDevice.colorModel:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
protected void addFSWindowListener(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.awt.Win32GraphicsDevice$Win32FSWindowAdapter
dup
aload 0
invokespecial sun.awt.Win32GraphicsDevice$Win32FSWindowAdapter.<init>:(Lsun/awt/Win32GraphicsDevice;)V
putfield sun.awt.Win32GraphicsDevice.fsWindowListener:Ljava/awt/event/WindowListener;
1: new sun.awt.Win32GraphicsDevice$1
dup
aload 0
aload 1
invokespecial sun.awt.Win32GraphicsDevice$1.<init>:(Lsun/awt/Win32GraphicsDevice;Ljava/awt/Window;)V
invokestatic java.awt.EventQueue.invokeLater:(Ljava/lang/Runnable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
0 3 1 w Ljava/awt/Window;
MethodParameters:
Name Flags
w final
protected void removeFSWindowListener(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.awt.Win32GraphicsDevice.fsWindowListener:Ljava/awt/event/WindowListener;
invokevirtual java.awt.Window.removeWindowListener:(Ljava/awt/event/WindowListener;)V
1: aload 0
aconst_null
putfield sun.awt.Win32GraphicsDevice.fsWindowListener:Ljava/awt/event/WindowListener;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/Win32GraphicsDevice;
0 3 1 w Ljava/awt/Window;
MethodParameters:
Name Flags
w
}
SourceFile: "Win32GraphicsDevice.java"
NestMembers:
sun.awt.Win32GraphicsDevice$1 sun.awt.Win32GraphicsDevice$Win32FSWindowAdapter
InnerClasses:
sun.awt.Win32GraphicsDevice$1
private Win32FSWindowAdapter = sun.awt.Win32GraphicsDevice$Win32FSWindowAdapter of sun.awt.Win32GraphicsDevice