🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

When should setUI and getUI be used ?

#13137
From: Michael Nguyen
Date: Wed, 09 Sep 1998 00:00
18 lines
1047 bytes
Hi,

The description for setUI is to set the L&F object that renders this
component.
However, if I use

UIManager.setLookAndFeel(new
com.sun.java.swing.plaf.windows.WindowsLookAndFeel())

which applies for all the components, would setUI on individual
components
cause any conflicts ?
Also, at least for JCombobox, the parameter for setUI is ComboBox, but
the on-line doc for JBuilder does not contain that class.  Is it really
mising in JBuilder doc or is there a typo of "Combobox" class ?
Thanks for the info.

Michael Nguyen,
Technical Details
Message-ID: <35F6AEFD.5D5E9961@home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d827ce0ec9d63b02,start
X-Google-Attributes: gid111d45,public
From: Michael Nguyen <michaelmn@home.com>
Subject: When should setUI and getUI be used ?
Date: 1998/09/09
Message-ID: <35F6AEFD.5D5E9961@home.com>
X-Deja-AN: 389435755
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing