6

I would like to influence the UI scale of a standard Swing application with default L&F. Unfortunately scaling factor 1.0 is too small and 2.0 is too big. In my Linux fractional scaling factors are simply ignored. I searched already but can not find any solution to make it work. The scale is working for 1 or 2 but not in between:

–Dsun.java2d.uiScale=1.5

Java is 1.15 but it does not matter in any way, I tried different flavors already. The Linux is a Ubuntu with XFCE window manager.

asked Apr 29, 2022 at 10:57

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.