Depending on the Java version you are using, you may want to consider different solutions, especially if you'd like to solve it on your application's side.
In any case, and if your concern is just to disable the Windows 10 scaling, you can do so by changing your Java settings and specifying Windows compatibility settings to override DPI scaling, as Elderry mentions here: https://superuser.com/a/1207925 , and as I'm quoting:
- Find
java.exe
you installed.- Right click ->
Properties
- Go to
Compatibility
tab- Check
Override high DPI scaling behavior.
- Choose
System
forScaling performed by:
You can refer to this link for additional answers which may resolve your problem: https://superuser.com/questions/988379/how-do-i-run-java-apps-upscaled-on-a-high-dpi-display
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.