I am programming a Java 10 application using JavaFX for the UI.
Under Ubuntu 16.04 the application was sized appropriately. Under 18.04 suddenly the application is scaled to half its size. I need to get it scaled properly.
I found out that the application is ignoring the screen scaling factor that is set in the Settings. I have it normally set to 200%. Unfortunately the application is using 100% no matter what I set the scaling factor to.
This is on my laptop with a HiDPI display. I have searched the web and haven't found out why this java application is failing to adjust with the proper scaling factor.
Well, java does not use the system scale. You have to reconfigure your jvm with a scale configuration :