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

Use "Per-Monitor V2" High DPI awareness for Windows 10 v1703

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 10
    • client-libs

      Windows 10 Creators Update (1703) provides improved support for High DPI and recommends using "Per-Monitor V2" DPI awareness. [1]

      Swing supports Per-Monitor v1 DPI awareness, and Swing UI scales appropriately to monitor scaling. However, non-client area does not scale. Using "Per-Monitor V2" DPI awareness resolves this problem.

      The solution is to add <dpiAwareness> element [3] in addition to <dpiAware> element [2] to application manifest.

      [1] https://msdn.microsoft.com/library/windows/desktop/mt843498(v=vs.85).aspx#Per-Monitor_and_Per-Monitor__V2__DPI_Awareness_
      [2] https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx#dpiAware
      [3] https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx#dpiAwareness

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: