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

Simultaneous execution of two FullScreen application is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      java -version

      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


      If we try to start a fullscreen application when there is one another
      fullscreen application already running,then the (second)fullscreen crashes
      with the following message

      Exception in thread "main" java.lang.InternalError: Could not get display mode
              at sun.awt.Win32GraphicsDevice.getCurrentDisplayMode(Native Method)
              at sun.awt.Win32GraphicsDevice.getDisplayMode(Win32GraphicsDevice.java:285)
              at java.awt.GraphicsDevice.setFullScreenWindow(GraphicsDevice.java:195)
              at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Win32GraphicsDevice.java:216)
              at FullScreenTest.<init>(FullScreenTest.java:32)
              at FullScreenTest.main(FullScreenTest.java:85)
         

      and makes the first Fullscreen application hang.
         
      Please follow the steps to reproduce the failure in windows 2000:
         
         
         1 .Run the attached program "DisplayModeTest.java"
         2 .Iconify the FullScreen application.
         3 .Now,try running attached program "FullScreenTest.java"
         
         You can see the second FullScreen application(FullScreenTest) failing to
         start and crashes with the above mentioned Error.And also the First
         FullScreen application(DisplayModeTest) hang.

      (you can also reproduce by try running two instances of a fullscreen application)

        Attachments

          Activity

            People

            • Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: