If JComponent.setBackground(Color) doesn't work, you might try setting the
"Button.background" UIManager property.

Hope that helps,

pf

-----Original Message-----
From: Marie Alm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 08, 2001 1:31 PM
To: Advanced Swing
Subject: button selected background color


Hello all -

Does anyone know if (and how) the background color of a JButton
in its selected state can be changed - I'm trying to get rid of
the gray. The button just shows text, no icons.

Thanks,
Marie.
~~~~~~~~~~~~~~/\~~~~~~O-O~~~~~~~
A. Marie Alm, Sr. Software Engineer
0-In Design Automation, San Jose, Ca.
"Zero-In"   http://www.0-In.com
Tel: 408.487.3608
~~~~~~~~~~~~~~\/~~~~~~~~~~~~~~~~


_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to