My usecase is not about "retina or not". It is about showing a report result in "actual size" which means I need to scale it depending on the screen DPI.

Current workaround is this...

-Dcom.sun.javafx.screenDPI=109

...but I can't really advertise this to users.

Werner

On 18.02.2015 12:23, Mike Hearn wrote:
You can reflectively access Screen.getPixelScale() to learn if you're on
Retina. Of course, don't expect to swap out the JRE for a newer one
automatically if you do this (I bundle so it's not so problematic).

Reply via email to