FXML and high dpi screens

Jim Graham james.graham at oracle.com
Tue May 21 12:40:59 PDT 2013

On 5/21/13 9:06 AM, Danno Ferrin wrote:
> Ok, in JFX 2x how do I get the pixel scale?  This commit
> http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/51a85b7f59c2 has it for
> Images, but where can I tease it out for the whole display? Private APIs
> for 2.2 are OK, but will this be a "wait for 8" feature?

That commit has no public API for anything.  The only API it was 
creating was for internal purposes.

We have yet to create public API.  It will definitely be for 8 only, 
though.  2.2 (part of JDK7) will continue to be "do as best we can on 
behalf of the app" since we shouldn't be adding new API in a maintenance 

The APIs for communicating or customizing the pixel scaling for 8.0 have 
not yet been created...


More information about the openjfx-dev mailing list