🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: setBackground in JPanel

#12623
From: Rod Magnuson
Date: Wed, 02 Dec 1998 00:00
19 lines
1150 bytes
schilli,

Should work fine. Maybe updateUI is being called on it after you call
setBackground. Maybe you are not calling repaint on it after calling
setBackground. Just a couple of ideas.

Rod

schilli wrote:
> 
> Hi
> 
> i want to set the background color of my JPanel
> but the setBackground method doesn`t work
> 
> any ideas
> 
> thanks
>     schilli
Technical Details
Message-ID: <366636D2.EA949E84@Symantec.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36659f31.0@alijku02.edvz.uni-linz.ac.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c0ba7013e45c080
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10a146,c0ba7013e45c080
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,c0ba7013e45c080
X-Google-Attributes: gid10fd6d,public
From: Rod Magnuson <RMagnuson@Symantec.com>
Subject: Re: setBackground in JPanel
Date: 1998/12/02
Message-ID: <366636D2.EA949E84@Symantec.com>
X-Deja-AN: 418163512
Content-Transfer-Encoding: 7bit
References: <36659f31.0@alijku02.edvz.uni-linz.ac.at>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Symantec
Mime-Version: 1.0
Reply-To: RMagnuson@Symantec.com
Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui,comp.lang.java.programmer