<Swing Dev> Background/Foreground colors and Gtk Look and Feel

Stijn Debruyckere stijn.debruyckere at luciad.com
Wed Jun 10 15:23:21 UTC 2009


Hi,

Continuing the discussion of Jan 22, 2009, people seem to think there is 
no need to adapt the foreground/background colors of say a text field.  
But how about validation?  For example, the background of the 'find' 
text field of Firefox colors red when the text can't be found.  As far 
as I know, this simple yet powerful feature can't be implemented in 
Swing if one wants to support multiple look&feels, such as GTK or Nimbus 
(as setBackground is ignored).

Stijn
-- 
Stijn Debruyckere - Project Leader
T +32 16 23 95 91
F +32 16 29 34 22
E stijn.debruyckere at luciad.com <mailto:stijn.debruyckere at luciad.com>

*LUCIAD* - high performance visualization
Wetenschapspark Arenberg | Gaston Geenslaan 9
3001 Leuven | Belgium | www.luciad.com <http://www.luciad.com/>

Click to check for upcoming events <http://www.luciad.com/events.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20090610/97581b79/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.gif
Type: image/gif
Size: 10162 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20090610/97581b79/Signature.gif>


More information about the swing-dev mailing list