I'm trying to make a java swing application which will be distributed to other computers. I am using launch4j to build the .jar file into an .exe file and want to disable high dpi settings. I have tried using the arguments
-Dsun.java2d.dpiaware=false
and
-Dsun.java2d.uiScale=1.0
however neither worked when running on another PC. I also tried creating a wrapper manifest with these settings but that didn't work either. I was wondering if there was a way of enforcing the high-DPI settings to be disabled on all PC's, whether it can be enabled in the IDE or in launch4j or something else.
Thanks!