Article View: borland.public.jbuilder.java.language
Article #18982Re: can you set a Frame background color?
From: Conrad Hoesle-Kienzlen
Date: Thu, 19 Mar 1998 00:00
Date: Thu, 19 Mar 1998 00:00
15 lines
1047 bytes
1047 bytes
Alex. I think you will have to add a panel to the frame. Then it is easy, just call setBackground(Color.red); (or whatever). If you are not in the same context as your panel (i.e. a different class in the same package) call thatOldPanel.setBackground(...) ...Conrad Alex Humphreys wrote: > I'm trying to set the background color in my Frame to something other > than Gray: white. Is it possible? Or can I put a panel on the frame > and set that background color? How can I do this? > > Thanks.
Technical Details
Message-ID:
<351169AC.9D732CE6@csi.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<351156E3.446785D9@sema4.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,641fb43c4c13ffee X-Google-Attributes: gidf74b3,public From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com> Subject: Re: can you set a Frame background color? Date: 1998/03/19 Message-ID: <351169AC.9D732CE6@csi.com> X-Deja-AN: 335669814 Content-Transfer-Encoding: 7bit References: <351156E3.446785D9@sema4.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: CHK IT-Consulting Newsgroups: borland.public.jbuilder.java.language