🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: UIManager properties

#10276
From: BC
Date: Fri, 22 Oct 1999 00:00
32 lines
1680 bytes
Thank you very much. That's exactly what I needed.

Also, another posting mentions that most of the UIManager property names are
in "javax.swing.plaf.basic.BasicLookAndFeel.java" file.


BARBET Alain wrote:

> BC a �crit :
>
> > Where can I find a listing of UIManager default properties? For example,
> > UIManager.put("Color", Color.red);
> >
> > I'd like to change the default JOptionPane color and font. The
> > JOptionPane's setBackground() and setFont() methods do not change
> > anything. I am wondering if I could change the UIManager default
> > properties for JOptionPane explicitly.
> >
> > Thanks.
>
> Usually I use this :
>
>  UIDefaults defaults = UIManager.getDefaults();
>  defaults.put("OptionPane.foreground", Color.white);
>  defaults.put("OptionPane.background", Color.white);
>
> Hope that's help you ....
>
> --
> Alain BARBET
> Ing�nieur R&D - Network Mapping Facilities
> abarb@nmg.fr - http://www.citeweb.net/alian
Technical Details
Message-ID: <381097D4.4C4C058D@aol.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <380F0F32.EE49E4B0@aol.com> <380F38BC.C321E8FE@nmg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,79cf5fc72234d046
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10fd6d,79cf5fc72234d046
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 10a146,79cf5fc72234d046
X-Google-Attributes: gid10a146,public
From: BC <Bameco@aol.com>
Subject: Re: UIManager properties
Date: 1999/10/22
Message-ID: <381097D4.4C4C058D@aol.com>
X-Deja-AN: 539323712
Content-Transfer-Encoding: 8bit
References: <380F0F32.EE49E4B0@aol.com> <380F38BC.C321E8FE@nmg.fr>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui,comp.lang.java.programmer