public final class sun.awt.Win32GraphicsEnvironment extends sun.java2d.SunGraphicsEnvironment
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.awt.Win32GraphicsEnvironment
  super_class: sun.java2d.SunGraphicsEnvironment
{
  static final float debugScaleX;
    descriptor: F
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final float debugScaleY;
    descriptor: F
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  private static boolean displayInitialized;
    descriptor: Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private java.util.ArrayList<java.lang.ref.WeakReference<sun.awt.Win32GraphicsDevice>> oldDevices;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/ArrayList<Ljava/lang/ref/WeakReference<Lsun/awt/Win32GraphicsDevice;>;>;

  private static volatile boolean isDWMCompositionEnabled;
    descriptor: Z
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=6, args_size=0
         0: .line 52
            ldc Lsun/awt/Win32GraphicsEnvironment;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.awt.Win32GraphicsEnvironment.$assertionsDisabled:Z
         3: .line 60
            invokestatic sun.awt.windows.WToolkit.loadLibraries:()V
         4: .line 62
            invokestatic sun.java2d.windows.WindowsFlags.initFlags:()V
         5: .line 63
            invokestatic sun.awt.Win32GraphicsEnvironment.initDisplayWrapper:()V
         6: .line 66
            new sun.java2d.WindowsSurfaceManagerFactory
            dup
            invokespecial sun.java2d.WindowsSurfaceManagerFactory.<init>:()V
            invokestatic sun.java2d.SurfaceManagerFactory.setInstance:(Lsun/java2d/SurfaceManagerFactory;)V
         7: .line 68
            ldc -1.0
            dstore 0 /* sx */
        start local 0 // double sx
         8: .line 69
            ldc -1.0
            dstore 2 /* sy */
        start local 2 // double sy
         9: .line 70
            invokestatic sun.awt.Win32GraphicsEnvironment.isUIScaleEnabled:()Z
            ifeq 16
        10: .line 71
            ldc "sun.java2d.win.uiScaleX"
            invokestatic sun.awt.Win32GraphicsEnvironment.getScaleFactor:(Ljava/lang/String;)D
            dstore 0 /* sx */
        11: .line 72
            ldc "sun.java2d.win.uiScaleY"
            invokestatic sun.awt.Win32GraphicsEnvironment.getScaleFactor:(Ljava/lang/String;)D
            dstore 2 /* sy */
        12: .line 73
            dload 0 /* sx */
            dconst_0
            dcmpg
            ifle 13
            dload 2 /* sy */
            dconst_0
            dcmpg
            ifgt 16
        13: .line 74
      StackMap locals: double double
      StackMap stack:
            invokestatic sun.awt.Win32GraphicsEnvironment.getDebugScale:()D
            dstore 4 /* s */
        start local 4 // double s
        14: .line 75
            dload 4 /* s */
            dstore 0 /* sx */
        15: .line 76
            dload 4 /* s */
            dstore 2 /* sy */
        end local 4 // double s
        16: .line 80
      StackMap locals:
      StackMap stack:
            dload 0 /* sx */
            d2f
            putstatic sun.awt.Win32GraphicsEnvironment.debugScaleX:F
        17: .line 81
            dload 2 /* sy */
            d2f
            putstatic sun.awt.Win32GraphicsEnvironment.debugScaleY:F
        end local 2 // double sy
        end local 0 // double sx
        18: .line 244
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            8   18     0    sx  D
            9   18     2    sy  D
           14   16     4     s  D

  private static native void initDisplay();
    descriptor: ()V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  public static void initDisplayWrapper();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 93
            getstatic sun.awt.Win32GraphicsEnvironment.displayInitialized:Z
            ifne 3
         1: .line 94
            iconst_1
            putstatic sun.awt.Win32GraphicsEnvironment.displayInitialized:Z
         2: .line 95
            invokestatic sun.awt.Win32GraphicsEnvironment.initDisplay:()V
         3: .line 97
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.awt.Win32GraphicsEnvironment this
         0: .line 99
            aload 0 /* this */
            invokespecial sun.java2d.SunGraphicsEnvironment.<init>:()V
         1: .line 100
            return
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/awt/Win32GraphicsEnvironment;

  protected native int getNumScreens();
    descriptor: ()I
    flags: (0x0104) ACC_PROTECTED, ACC_NATIVE

  private native int getDefaultScreen();
    descriptor: ()I
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE

  public java.awt.GraphicsDevice getDefaultScreenDevice();
    descriptor: ()Ljava/awt/GraphicsDevice;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // sun.awt.Win32GraphicsEnvironment this
         0: .line 106
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
            astore 1 /* screens */
        start local 1 // java.awt.GraphicsDevice[] screens
         1: .line 107
            aload 1 /* screens */
            arraylength
            ifne 3
         2: .line 108
            new java.awt.AWTError
            dup
            ldc "no screen devices"
            invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 110
      StackMap locals: java.awt.GraphicsDevice[]
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getDefaultScreen:()I
            istore 2 /* index */
        start local 2 // int index
         4: .line 111
            aload 1 /* screens */
            iload 2 /* index */
            ifle 5
            iload 2 /* index */
            aload 1 /* screens */
            arraylength
            if_icmpge 5
            iload 2 /* index */
            goto 6
      StackMap locals: sun.awt.Win32GraphicsEnvironment java.awt.GraphicsDevice[] int
      StackMap stack: java.awt.GraphicsDevice[]
         5: iconst_0
      StackMap locals: sun.awt.Win32GraphicsEnvironment java.awt.GraphicsDevice[] int
      StackMap stack: java.awt.GraphicsDevice[] int
         6: aaload
            areturn
        end local 2 // int index
        end local 1 // java.awt.GraphicsDevice[] screens
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lsun/awt/Win32GraphicsEnvironment;
            1    7     1  screens  [Ljava/awt/GraphicsDevice;
            4    7     2    index  I

  public native int getXResolution();
    descriptor: ()I
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  public native int getYResolution();
    descriptor: ()I
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  public void displayChanged();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // sun.awt.Win32GraphicsEnvironment this
         0: .line 144
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getNumScreens:()I
            anewarray java.awt.GraphicsDevice
            astore 1 /* newDevices */
        start local 1 // java.awt.GraphicsDevice[] newDevices
         1: .line 145
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
            astore 2 /* oldScreens */
        start local 2 // java.awt.GraphicsDevice[] oldScreens
         2: .line 148
            aload 2 /* oldScreens */
            ifnull 20
         3: .line 149
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 18
         5: .line 150
      StackMap locals: java.awt.GraphicsDevice[] java.awt.GraphicsDevice[] int
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
            iload 3 /* i */
            aaload
            instanceof sun.awt.Win32GraphicsDevice
            ifne 7
         6: .line 152
            getstatic sun.awt.Win32GraphicsEnvironment.$assertionsDisabled:Z
            ifne 17
            new java.lang.AssertionError
            dup
            aload 2 /* oldScreens */
            iload 3 /* i */
            aaload
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         7: .line 155
      StackMap locals:
      StackMap stack:
            aload 2 /* oldScreens */
            iload 3 /* i */
            aaload
            checkcast sun.awt.Win32GraphicsDevice
            astore 4 /* gd */
        start local 4 // sun.awt.Win32GraphicsDevice gd
         8: .line 159
            aload 4 /* gd */
            invokevirtual sun.awt.Win32GraphicsDevice.isValid:()Z
            ifne 15
         9: .line 160
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            ifnonnull 13
        10: .line 161
            aload 0 /* this */
        11: .line 162
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
        12: .line 161
            putfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
        13: .line 164
      StackMap locals: sun.awt.Win32GraphicsDevice
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            new java.lang.ref.WeakReference
            dup
            aload 4 /* gd */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        14: .line 165
            goto 17
      StackMap locals:
      StackMap stack:
        15: iload 3 /* i */
            aload 1 /* newDevices */
            arraylength
            if_icmpge 17
        16: .line 167
            aload 1 /* newDevices */
            iload 3 /* i */
            aload 4 /* gd */
            aastore
        end local 4 // sun.awt.Win32GraphicsDevice gd
        17: .line 149
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        18: iload 3 /* i */
            aload 2 /* oldScreens */
            arraylength
            if_icmplt 5
        end local 3 // int i
        19: .line 170
            aconst_null
            astore 2 /* oldScreens */
        20: .line 173
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        21: goto 25
        22: .line 174
      StackMap locals: int
      StackMap stack:
            aload 1 /* newDevices */
            iload 3 /* i */
            aaload
            ifnonnull 24
        23: .line 175
            aload 1 /* newDevices */
            iload 3 /* i */
            aload 0 /* this */
            iload 3 /* i */
            invokevirtual sun.awt.Win32GraphicsEnvironment.makeScreenDevice:(I)Ljava/awt/GraphicsDevice;
            aastore
        24: .line 173
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        25: iload 3 /* i */
            aload 1 /* newDevices */
            arraylength
            if_icmplt 22
        end local 3 // int i
        26: .line 181
            aload 0 /* this */
            aload 1 /* newDevices */
            putfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
        27: .line 182
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 32
      StackMap locals: sun.awt.Win32GraphicsEnvironment java.awt.GraphicsDevice[] java.awt.GraphicsDevice[] top int int java.awt.GraphicsDevice[]
      StackMap stack:
        28: aload 6
            iload 4
            aaload
            astore 3 /* gd */
        start local 3 // java.awt.GraphicsDevice gd
        29: .line 183
            aload 3 /* gd */
            instanceof sun.awt.DisplayChangedListener
            ifeq 31
        30: .line 184
            aload 3 /* gd */
            checkcast sun.awt.DisplayChangedListener
            invokeinterface sun.awt.DisplayChangedListener.displayChanged:()V
        end local 3 // java.awt.GraphicsDevice gd
        31: .line 182
      StackMap locals:
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        32: iload 4
            iload 5
            if_icmplt 28
        33: .line 191
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            ifnull 45
        34: .line 192
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getDefaultScreen:()I
            istore 3 /* defScreen */
        start local 3 // int defScreen
        35: .line 194
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.listIterator:()Ljava/util/ListIterator;
        36: .line 193
            astore 4 /* it */
        start local 4 // java.util.ListIterator it
        37: .line 194
            goto 44
        38: .line 196
      StackMap locals: sun.awt.Win32GraphicsEnvironment java.awt.GraphicsDevice[] java.awt.GraphicsDevice[] int java.util.ListIterator
      StackMap stack:
            aload 4 /* it */
            invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
            checkcast java.lang.ref.WeakReference
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            checkcast sun.awt.Win32GraphicsDevice
            astore 5 /* gd */
        start local 5 // sun.awt.Win32GraphicsDevice gd
        39: .line 197
            aload 5 /* gd */
            ifnull 43
        40: .line 198
            aload 5 /* gd */
            iload 3 /* defScreen */
            invokevirtual sun.awt.Win32GraphicsDevice.invalidate:(I)V
        41: .line 199
            aload 5 /* gd */
            invokevirtual sun.awt.Win32GraphicsDevice.displayChanged:()V
        42: .line 200
            goto 44
        43: .line 202
      StackMap locals: sun.awt.Win32GraphicsDevice
      StackMap stack:
            aload 4 /* it */
            invokeinterface java.util.ListIterator.remove:()V
        end local 5 // sun.awt.Win32GraphicsDevice gd
        44: .line 194
      StackMap locals:
      StackMap stack:
            aload 4 /* it */
            invokeinterface java.util.ListIterator.hasNext:()Z
            ifne 38
        end local 4 // java.util.ListIterator it
        end local 3 // int defScreen
        45: .line 208
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
            invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
        46: .line 210
            return
        end local 2 // java.awt.GraphicsDevice[] oldScreens
        end local 1 // java.awt.GraphicsDevice[] newDevices
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   47     0        this  Lsun/awt/Win32GraphicsEnvironment;
            1   47     1  newDevices  [Ljava/awt/GraphicsDevice;
            2   47     2  oldScreens  [Ljava/awt/GraphicsDevice;
            4   19     3           i  I
            8   17     4          gd  Lsun/awt/Win32GraphicsDevice;
           21   26     3           i  I
           29   31     3          gd  Ljava/awt/GraphicsDevice;
           35   45     3   defScreen  I
           37   45     4          it  Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lsun/awt/Win32GraphicsDevice;>;>;
           39   44     5          gd  Lsun/awt/Win32GraphicsDevice;

  protected java.awt.GraphicsDevice makeScreenDevice(int);
    descriptor: (I)Ljava/awt/GraphicsDevice;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.awt.Win32GraphicsEnvironment this
        start local 1 // int screennum
         0: .line 218
            aconst_null
            astore 2 /* device */
        start local 2 // java.awt.GraphicsDevice device
         1: .line 219
            invokestatic sun.java2d.windows.WindowsFlags.isD3DEnabled:()Z
            ifeq 3
         2: .line 220
            iload 1 /* screennum */
            invokestatic sun.java2d.d3d.D3DGraphicsDevice.createDevice:(I)Lsun/java2d/d3d/D3DGraphicsDevice;
            astore 2 /* device */
         3: .line 222
      StackMap locals: java.awt.GraphicsDevice
      StackMap stack:
            aload 2 /* device */
            ifnonnull 5
         4: .line 223
            new sun.awt.Win32GraphicsDevice
            dup
            iload 1 /* screennum */
            invokespecial sun.awt.Win32GraphicsDevice.<init>:(I)V
            astore 2 /* device */
         5: .line 225
      StackMap locals:
      StackMap stack:
            aload 2 /* device */
            areturn
        end local 2 // java.awt.GraphicsDevice device
        end local 1 // int screennum
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lsun/awt/Win32GraphicsEnvironment;
            0    6     1  screennum  I
            1    6     2     device  Ljava/awt/GraphicsDevice;
    MethodParameters:
           Name  Flags
      screennum  

  public boolean isDisplayLocal();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.awt.Win32GraphicsEnvironment this
         0: .line 229
            iconst_1
            ireturn
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/awt/Win32GraphicsEnvironment;

  public boolean isFlipStrategyPreferred(java.awt.peer.ComponentPeer);
    descriptor: (Ljava/awt/peer/ComponentPeer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // sun.awt.Win32GraphicsEnvironment this
        start local 1 // java.awt.peer.ComponentPeer peer
         0: .line 235
            aload 1 /* peer */
            ifnull 5
            aload 1 /* peer */
            invokeinterface java.awt.peer.ComponentPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
            dup
            astore 2 /* gc */
        start local 2 // java.awt.GraphicsConfiguration gc
         1: ifnull 5
         2: .line 236
            aload 2 /* gc */
            invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
            astore 3 /* gd */
        start local 3 // java.awt.GraphicsDevice gd
         3: .line 237
            aload 3 /* gd */
            instanceof sun.java2d.d3d.D3DGraphicsDevice
            ifeq 5
         4: .line 238
            aload 3 /* gd */
            checkcast sun.java2d.d3d.D3DGraphicsDevice
            invokevirtual sun.java2d.d3d.D3DGraphicsDevice.isD3DEnabledOnDevice:()Z
            ireturn
        end local 3 // java.awt.GraphicsDevice gd
        end local 2 // java.awt.GraphicsConfiguration gc
         5: .line 241
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.awt.peer.ComponentPeer peer
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/awt/Win32GraphicsEnvironment;
            0    6     1  peer  Ljava/awt/peer/ComponentPeer;
            1    5     2    gc  Ljava/awt/GraphicsConfiguration;
            3    5     3    gd  Ljava/awt/GraphicsDevice;
    MethodParameters:
      Name  Flags
      peer  

  public static boolean isDWMCompositionEnabled();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 251
            getstatic sun.awt.Win32GraphicsEnvironment.isDWMCompositionEnabled:Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void dwmCompositionChanged(boolean);
    descriptor: (Z)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // boolean enabled
         0: .line 264
            iload 0 /* enabled */
            putstatic sun.awt.Win32GraphicsEnvironment.isDWMCompositionEnabled:Z
         1: .line 265
            return
        end local 0 // boolean enabled
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  enabled  Z
    MethodParameters:
         Name  Flags
      enabled  

  public static native boolean isVistaOS();
    descriptor: ()Z
    flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
}
SourceFile: "Win32GraphicsEnvironment.java"