public class sun.awt.Win32GraphicsEnvironment extends sun.java2d.SunGraphicsEnvironment
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.awt.Win32GraphicsEnvironment
  super_class: sun.java2d.SunGraphicsEnvironment
{
  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=2, locals=0, args_size=0
         0: .line 59
            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 65
            invokestatic sun.awt.windows.WToolkit.loadLibraries:()V
         4: .line 67
            invokestatic sun.java2d.windows.WindowsFlags.initFlags:()V
         5: .line 68
            invokestatic sun.awt.Win32GraphicsEnvironment.initDisplayWrapper:()V
         6: .line 71
            new sun.java2d.WindowsSurfaceManagerFactory
            dup
            invokespecial sun.java2d.WindowsSurfaceManagerFactory.<init>:()V
            invokestatic sun.java2d.SurfaceManagerFactory.setInstance:(Lsun/java2d/SurfaceManagerFactory;)V
         7: .line 232
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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 83
            getstatic sun.awt.Win32GraphicsEnvironment.displayInitialized:Z
            ifne 3
         1: .line 84
            iconst_1
            putstatic sun.awt.Win32GraphicsEnvironment.displayInitialized:Z
         2: .line 85
            invokestatic sun.awt.Win32GraphicsEnvironment.initDisplay:()V
         3: .line 87
      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 89
            aload 0 /* this */
            invokespecial sun.java2d.SunGraphicsEnvironment.<init>:()V
         1: .line 90
            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

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

  public java.awt.GraphicsDevice getDefaultScreenDevice();
    descriptor: ()Ljava/awt/GraphicsDevice;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.Win32GraphicsEnvironment this
         0: .line 96
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getDefaultScreen:()I
            aaload
            areturn
        end local 0 // sun.awt.Win32GraphicsEnvironment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/awt/Win32GraphicsEnvironment;

  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 129
            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 130
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
            astore 2 /* oldScreens */
        start local 2 // java.awt.GraphicsDevice[] oldScreens
         2: .line 133
            aload 2 /* oldScreens */
            ifnull 20
         3: .line 134
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 18
         5: .line 135
      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 137
            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 140
      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 144
            aload 4 /* gd */
            invokevirtual sun.awt.Win32GraphicsDevice.isValid:()Z
            ifne 15
         9: .line 145
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            ifnonnull 13
        10: .line 146
            aload 0 /* this */
        11: .line 147
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
        12: .line 146
            putfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
        13: .line 149
      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 150
            goto 17
      StackMap locals:
      StackMap stack:
        15: iload 3 /* i */
            aload 1 /* newDevices */
            arraylength
            if_icmpge 17
        16: .line 152
            aload 1 /* newDevices */
            iload 3 /* i */
            aload 4 /* gd */
            aastore
        end local 4 // sun.awt.Win32GraphicsDevice gd
        17: .line 134
      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 155
            aconst_null
            astore 2 /* oldScreens */
        20: .line 158
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        21: goto 25
        22: .line 159
      StackMap locals: int
      StackMap stack:
            aload 1 /* newDevices */
            iload 3 /* i */
            aaload
            ifnonnull 24
        23: .line 160
            aload 1 /* newDevices */
            iload 3 /* i */
            aload 0 /* this */
            iload 3 /* i */
            invokevirtual sun.awt.Win32GraphicsEnvironment.makeScreenDevice:(I)Ljava/awt/GraphicsDevice;
            aastore
        24: .line 158
      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 166
            aload 0 /* this */
            aload 1 /* newDevices */
            putfield sun.awt.Win32GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
        27: .line 167
            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 168
            aload 3 /* gd */
            instanceof sun.awt.DisplayChangedListener
            ifeq 31
        30: .line 169
            aload 3 /* gd */
            checkcast sun.awt.DisplayChangedListener
            invokeinterface sun.awt.DisplayChangedListener.displayChanged:()V
        end local 3 // java.awt.GraphicsDevice gd
        31: .line 167
      StackMap locals:
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        32: iload 4
            iload 5
            if_icmplt 28
        33: .line 176
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            ifnull 45
        34: .line 177
            aload 0 /* this */
            invokevirtual sun.awt.Win32GraphicsEnvironment.getDefaultScreen:()I
            istore 3 /* defScreen */
        start local 3 // int defScreen
        35: .line 179
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.oldDevices:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.listIterator:()Ljava/util/ListIterator;
        36: .line 178
            astore 4 /* it */
        start local 4 // java.util.ListIterator it
        37: .line 179
            goto 44
        38: .line 181
      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 182
            aload 5 /* gd */
            ifnull 43
        40: .line 183
            aload 5 /* gd */
            iload 3 /* defScreen */
            invokevirtual sun.awt.Win32GraphicsDevice.invalidate:(I)V
        41: .line 184
            aload 5 /* gd */
            invokevirtual sun.awt.Win32GraphicsDevice.displayChanged:()V
        42: .line 185
            goto 44
        43: .line 187
      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 179
      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 192
      StackMap locals:
      StackMap stack:
            invokestatic sun.awt.windows.WToolkit.resetGC:()V
        46: .line 196
            aload 0 /* this */
            getfield sun.awt.Win32GraphicsEnvironment.displayChanger:Lsun/awt/SunDisplayChanger;
            invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
        47: .line 198
            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   48     0        this  Lsun/awt/Win32GraphicsEnvironment;
            1   48     1  newDevices  [Ljava/awt/GraphicsDevice;
            2   48     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 206
            aconst_null
            astore 2 /* device */
        start local 2 // java.awt.GraphicsDevice device
         1: .line 207
            invokestatic sun.java2d.windows.WindowsFlags.isD3DEnabled:()Z
            ifeq 3
         2: .line 208
            iload 1 /* screennum */
            invokestatic sun.java2d.d3d.D3DGraphicsDevice.createDevice:(I)Lsun/java2d/d3d/D3DGraphicsDevice;
            astore 2 /* device */
         3: .line 210
      StackMap locals: java.awt.GraphicsDevice
      StackMap stack:
            aload 2 /* device */
            ifnonnull 5
         4: .line 211
            new sun.awt.Win32GraphicsDevice
            dup
            iload 1 /* screennum */
            invokespecial sun.awt.Win32GraphicsDevice.<init>:(I)V
            astore 2 /* device */
         5: .line 213
      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 217
            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 223
            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 224
            aload 2 /* gc */
            invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
            astore 3 /* gd */
        start local 3 // java.awt.GraphicsDevice gd
         3: .line 225
            aload 3 /* gd */
            instanceof sun.java2d.d3d.D3DGraphicsDevice
            ifeq 5
         4: .line 226
            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 229
      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 239
            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 252
            iload 0 /* enabled */
            putstatic sun.awt.Win32GraphicsEnvironment.isDWMCompositionEnabled:Z
         1: .line 253
            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"