Comment exécuter Java apps upscaled on a high-DPI affichage?
Comment exécuter Java apps upscaled on a high-DPI affichage?
J'essaie de run a Java app (JAR file) on a high-DPI display on Windows 10. The app uses Swing and thus isn't DPI-aware. Normally when I run an application that isn't DPI-aware, Windows will scale it for me, albeit blurry. But pour une raison quelconque it's not scaling the Java app; Je viens de get a tiny little window in the corner with impossible-to-read text. Comment run a Java app with Windows' high-DPI (blurry) scaling?
Re: Comment exécuter Java apps upscaled on a high-DPI affichage?
Just found an easy solution on my Windows 10 machine:
- Find `java.exe` you installed.
- Clic droit -> `Properties`
- Allez dans `Compatibility` tab
- **Check** `Override high DPI scaling behavior.`
- Choose `System` for `Scaling performed by:`
- Find `java.exe` you installed.
- Clic droit -> `Properties`
- Allez dans `Compatibility` tab
- **Check** `Override high DPI scaling behavior.`
- Choose `System` for `Scaling performed by:`