Article View: borland.public.jbuilder.java.swing
Article #9412Re: System colors and Java (Metal) look and feel
From: James Cook
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
27 lines
1335 bytes
1335 bytes
Set the components opaque [setOpaque(false)] attribute to false. jim Stephen Legge <stephen@cryptocard.com> wrote in message news:8d1r0r$f3a6@bornews.borland.com... > Hi, > > I have a JTextArea in a Frame and I have its background color set to CONTROL > so that it will match the system colors (I want the effect of a transparent > TLabel in Delphi). > > When I run the application in the Java (Metal) Look and Feel, the > JTextArea's background color stays the Windows CONTROL color and so it > doesn't match steel-color of the Java L&F Frame. > > How do I get the effect I'm looking for? That is, how do I keep the colors > correct for different look & feels? > > Stephen Legge > Stephen@cryptocard.com > Ottawa, Canada > >
Technical Details
Message-ID:
<8d1rtv$f0i6@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8d1r0r$f3a6@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,91c8bcf9f7691e9c,start X-Google-Attributes: gid111d45,public From: "James Cook" <jimcook.remove.for.spam@iname.com> Subject: Re: System colors and Java (Metal) look and feel Date: 2000/04/12 Message-ID: <8d1rtv$f0i6@bornews.borland.com> X-Deja-AN: 610134756 References: <8d1r0r$f3a6@bornews.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing