🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

System colors and Java (Metal) look and feel

#9413
From: Stephen Legge
Date: Wed, 12 Apr 2000 00:00
16 lines
1060 bytes
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: <8d1r0r$f3a6@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,91c8bcf9f7691e9c
X-Google-Attributes: gid111d45,public
From: "Stephen Legge" <stephen@cryptocard.com>
Subject: System colors and Java (Metal) look and feel
Date: 2000/04/12
Message-ID: <8d1r0r$f3a6@bornews.borland.com>
X-Deja-AN: 610134758
X-Priority: 3
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing