Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change the Java (Swing) Default Font Size

807601Apr 25 2008 — edited May 1 2008
Hi,

I want to run some java applications on various Linux distros. (Fedora Core 8, CentOS 3,4, etc)

However the default font size is rather small; a 10 points font or so. I want to change the default to at least a 14 points font.
How can I achieve that. Is there a property I can pass to the application with -D option? Or what about the font property files?

I got jdk1.6.0_04 installed.

Thanks

Hans.

Edited by: HansKramer on Apr 25, 2008 9:01 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 29 2008
Added on Apr 25 2008
6 comments
3,403 views