🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11932

Re: Default Font Sizes

#11932
From: Matt Krevs
Date: Tue, 16 Mar 1999 00:00
16 lines
1088 bytes
You can change various default settings by changing UIDefaults in the
current look and feel.

eg

UIDefaults defaults = UIManager.getDefaults();

defaults.put("Label.font", a font goes here);
defaults.put("Button.font", a font goes here);
defaults.put("Panel.font", a font goes here);

Eric Weise > wrote in message <01be6f01$7ac788a0$6a3387c6@w9-eweise>...
>Does anyone know how to change the default font size on swing controls.
>When I drag a control onto the screen it defaults to Dialog 12 but I would
>like it to default to Dialog 11.  Any insight would be appreciated.
>
Technical Details
Message-ID: <7ck036$2gq8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be6f01$7ac788a0$6a3387c6@w9-eweise>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ad02a2b3f7eddea3
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: Default Font Sizes
Date: 1999/03/16
Message-ID: <7ck036$2gq8@forums.borland.com>
X-Deja-AN: 455379871
References: <01be6f01$7ac788a0$6a3387c6@w9-eweise>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing