Article View: borland.public.jbuilder.java.swing
Article #12631Re: setBackground in JPanel
From: Emiel van der Herberg
Date: Thu, 03 Dec 1998 00:00
Date: Thu, 03 Dec 1998 00:00
16 lines
1000 bytes
1000 bytes
schilli wrote: > Hi > > i want to set the background color of my JPanel > but the setBackground method doesn`t work > > any ideas > > thanks > schilli Your panel is probably transparent - use myJPanel.setOpaque(true). Emiel.
Technical Details
Message-ID:
<3666A9B9.2E741995@hta.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: Emiel van der Herberg <emiel.van.der.herberg@hta.nl> Subject: Re: setBackground in JPanel Date: 1998/12/03 Message-ID: <3666A9B9.2E741995@hta.nl> X-Deja-AN: 418258062 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: UUNET-NL Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui,comp.lang.java.programmer