How to get the content scale factor (hiDPI) on Mac on OpenJDK8?

Tobias Bley tobi at
Mon Aug 5 01:32:48 PDT 2013

With Apple JDK6 we can call the scale factor like this: toolkit.getDesktopProperty("apple.awt.contentScaleFactor“);

Unfortunately thats not possible with JDK7/8. Is there another way to get the scale factor?

Best regards,

More information about the openjfx-dev mailing list