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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows_vista

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              denis Denis Fokin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: