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

Win32GraphicsEnvironment.getDefaultScreenDevice assumes primary monitor is 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.1_04
    • client-libs
    • None
    • 2d
    • x86
    • windows_2000


      In 1.3.1 on windows Win32GraphicsEnvironment.getDefaultScreenDevice() returns
      the first GraphicsDevice as the Default one. We are not always guaranteed that
      the first GraphicsDevice will be the primary monitor in a multi monitor
      environment.

      SunGraphicsEnvironment.java:

      SunGraphicsEnvironment.getDefaultScreenDevice() {
          return getScreenDevices()[0]
      }



            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: