From brian@brie.com Thu Aug 20 15:54:02 2026
From: "Brian E. Lavender" <brian@brie.com>
To: lug-nuts@bigbrie.com
Subject: [Lug-nuts] scale java app
Date: Thu, 20 Aug 2026 08:53:58 -0700
Message-ID: <aocjFgGhi0vQFkYK@brie.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7772423990367036334=="

--===============7772423990367036334==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

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

--===============7772423990367036334==--


