Article View: borland.public.jbuilder.java.swing
Article #9809Re: Font and Size
From: rwilkman
Date: Tue, 01 Feb 2000 00:00
Date: Tue, 01 Feb 2000 00:00
34 lines
1607 bytes
1607 bytes
Darcy: Not sure it still holds for JFC, but with awt font size was set by the parent container at add() time if it wasn't already set on the object. I think now, you handle this with the Look and Feel (which will make you look like a Windows program if you use the Windows L&F). -Rich Darcy Schultz wrote: > > Is there a way to globally set the font and size. I don't really want to > call setFont() for every visible component. > > Essentially I want to disguise a Java application as a Windows application. > It's critical that my users see an application that closely resembles what > they're accustomed to. In order for that to happen, the fonts need to look > the same. I would like to MS Sans Serif 8pt. > > thanks, > Darcy Schultz. -- ===== Rich Wilkman Senior Quality Assurance Engineer JBuilder Team If something in this post looks like an opinion, walks like an opinion and quacks like an opinion, it's mine and not that of my employer. If you are reading this from a newsgroup post, don't send mail. =====
Technical Details
Message-ID:
<3897140A.5A193B10@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<877250$4001@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,4465b35f702de576 X-Google-Attributes: gid111d45,public From: rwilkman <rwilkman@inprise.com> Subject: Re: Font and Size Date: 2000/02/01 Message-ID: <3897140A.5A193B10@inprise.com> X-Deja-AN: 580411049 Content-Transfer-Encoding: 7bit References: <877250$4001@bornews.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing