I am using Windows 10 Pro 64bit.
My monitor (32inch) has a native resolution of 3820 * 2160 pixels.
As soon when I use Java based applications I have problems with the magnification of fonts, buttons, etc. Often they are too small.
I know I can change the overall scaling of all elements to more than 100%. But this leads to the fact that fonts etc. are blurred.
Do you have a solution for that?
Select Display > Change the size of text, apps, and other items, and then adjust the slider for each monitor. Right-click the application, select Properties, select the Compatibility tab, and then select the Disable display scaling on high DPI settings check box.
Solution. Go to Compatibility tab and put a check mark next to Disable Display scaling on high DPI settings. Re-launch Java Console and this should resolve the issue.
Most common solution (try google) is disable DPI awareness. You can do this by running your app with:
-Dsun.java2d.dpiaware=false
Note that, here is bug for Java 8 :( See this ticket.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With