Lessee, really pushing the limits of my brain damage but I think that started in Java 9, may not have propagated to any other version and may even only be in the preview.  Add 
-Dsun.java2d.uiScale=2.0
to double it on the command line with a whole numbers like, "3.0", to triple it, has to be found before the UI is initialized. If you're writing it or have the source try 
System.setProperty("sun.java2d.uiScale", "2.0");
before the party starts or ask google AI about either of those lines. I've probably got it all wrong.

On Thu, Aug 20, 2026 at 9:54 AM Brian E. Lavender <brian@brie.com> wrote:
Java swing apps such as the MARS assembly simulator show tiny when I
run it on my 2k screen. I found the following will scale it.

https://dpetersanderson.github.io/index.html

scale java app

```
java -jar -Dsun.java2d.uiScale=2.0 Mars4_5.jar
```

I think there is another way to scale it? Someone know.

Brian
--
Brian Lavender
https://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
_______________________________________________
Lug-nuts mailing list -- lug-nuts@bigbrie.com
To unsubscribe send an email to lug-nuts-leave@bigbrie.com