Win32GraphicsEnvironment.getDefaultScreenDevice assumes primary monitor is 0

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.3.1_04
    • Component/s: 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]
      }



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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: