🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to change the background color for the whole app

#10303
From: Lois Neo
Date: Thu, 14 Oct 1999 00:00
22 lines
1609 bytes
Well, that is also the only way that I can think of, but it's too hectic to
change one by one the background colors of ALL the components in my app. and
some components don't inherit the background color from the parent
container, so practically I've got to set the background color specifically
for them in addition to the parent container.

I just wonder if there's a way to change the background color uniformly
throughout the whole app with just one or two statements. Can somebody who
knows share it with us?

Thanks for any help given.
Lois Neo

John <jahayes@clemson.edu> wrote in message
news:3804012F.775175CA@clemson.edu...
> I have tried playing around with this as well and the only thing that I
have
> found is to put a static Color object in one class and setBackground() of
> everything you want to change.  There probably is a better way and there
should
> be, but I haven't found one.  If there is something I would be interested.
>
Technical Details
Message-ID: <7u2a5e$89k4@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7tka3s$6o18@forums.borland.com> <3804012F.775175CA@clemson.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e7588067b13579a9
X-Google-Attributes: gid111d45,public
From: "Lois Neo" <slneo@cybergal.com>
Subject: Re: how to change the background color for the whole app
Date: 1999/10/14
Message-ID: <7u2a5e$89k4@forums.borland.com>
X-Deja-AN: 536288901
References: <7tka3s$6o18@forums.borland.com> <3804012F.775175CA@clemson.edu>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Lois Neo" <slneo@cybergal.com>
Newsgroups: borland.public.jbuilder.java.swing