According to this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6395346 on Vista and above the high DPI aware flag is set if the process is started using java.exe. However in a sample app in which I output the value of the property it is null.
String value = System.getProperty("sun.java2d.dpiaware");
It will only return true/false if I explicitly set the value on the command line. Is this the correct behavior? My expectation is that the value would be automatically set to true on Vista and above when launched from java.exe.