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

Provide a Screen.getScale method for Hi-DPI screens

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:

      Description

      For some reason the Screen.getScale() method is private, even though getDpi() is public. There's no comment in the source explaining what's up with that. I want this so I can rescale an image to the right size without wasting excessive memory on non-retina systems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              flar Jim Graham
              Reporter:
              mhearnjfx Mike Hearn (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Imported: