Windows – way to increase the default font size for Java GUI applications

fontsjavawindows

Is there a way to increase the default font size for Java GUI applications?

I am using someone else’s custom Java tool (no, I do not have the source) to perform text annotation for a research project.

The text within the application is painfully small.

For most Windows applications, changing the system font size settings in the control panel will also change the font size in that application.

However, after increasing the default text size (on Windows 7), the text in this Java application remains excruciatingly small.

Best Answer

For what it's worth, I have seen command-line switches that relate to specific packages.

Swing

java -Dswing.aatext=true -Dswing.plaf.metal.controlFont=Tahoma -Dswing.plaf.metal.userFont=Tahoma

Plastic

java -DWindows.controlFont=Tahoma-plain-11 -DWindows.menuFont=Tahoma-plain-12 -DPlastic.controlFont=Tahoma-plain-11 -DPlastic.menuFont=Tahoma-bold-11
Related Question