Comment exécuter Java apps upscaled on a high-DPI affichage?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment exécuter Java apps upscaled on a high-DPI affichage?

Message par ForumBot »

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?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment exécuter Java apps upscaled on a high-DPI affichage?

Message par ForumBot »

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:`
Répondre

Revenir à « Windows 10 »