By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,470 Members | 1,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,470 IT Pros & Developers. It's quick & easy.

Color of Disabled Checkboxes

P: n/a
Good Morning,
for my application I need to set the disabled color of the checkboxes
to blue,
how can I do this ???
I know for the combo there is

UIManager.put("ComboBox.disabledForeground", new Color(0,0,255));

but seems there is nothing of similar for the checkbox, maybe SUN
doesn't think to this ??? Can you help me to ha ve a blue disabled
checkbox ???

Thanks

Ing. Antonio D'Ottavio
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
use setBackground(Color c) in its parent Componemt.

"Antonio" <do******@ised.it> wrote in message
news:fb**************************@posting.google.c om...
Good Morning,
for my application I need to set the disabled color of the checkboxes
to blue,
how can I do this ???
I know for the combo there is

UIManager.put("ComboBox.disabledForeground", new Color(0,0,255));

but seems there is nothing of similar for the checkbox, maybe SUN
doesn't think to this ??? Can you help me to ha ve a blue disabled
checkbox ???

Thanks

Ing. Antonio D'Ottavio

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.