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

Richard Bair richard.bair at oracle.com
Thu Sep 26 13:26:28 PDT 2013


Hi Tobi,

You may want to file a feature request for it. As far as I know we don't expose any means for getting this via any API.

Thanks
Richard

On Aug 5, 2013, at 1:32 AM, Tobias Bley <tobi at ultramixer.com> wrote:

> 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,
> Tobi
> 



More information about the openjfx-dev mailing list