Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7019055

Full screen AWT Frame is shown differently with and without D3D pipeline

XMLWordPrintable

    • generic
    • windows_vista

      Full screen Frame is shown differently with and without D3D pipeline.

      How to reproduce:

      1. Compile the code

      ===DecoratedFrameFullScreen.java===
      import java.awt.*;

      public class DecoratedFrameFullScreen {

          public static void main(String[] args) throws Exception {
              final GraphicsDevice d = GraphicsEnvironment
                      .getLocalGraphicsEnvironment()
                      .getScreenDevices()[0];
              final Frame frame = new Frame();
              d.setFullScreenWindow(frame);
          }
      }

      2. Execute the command

      java.exe -Dsun.java2d.d3d=false DecoratedFrameFullScreen

      3. Execute the commnad
      java.exe DecoratedFrameFullScreen

      4. Compare the results. Execution without D3D does show decorations.

            kizune Alexander Zuev
            denis Denis Fokin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: