Re: Color of Disabled Checkboxes
From: Todd Corley (todd.corley_at_rulespower.com)
Date: 12/15/03
- Next message: Paul: "Struts vs JWSD( Java Web Service Developement)"
- Previous message: haim: "XpoLog 2.2 Security released - Powerful log viewer"
- In reply to: Antonio: "Color of Disabled Checkboxes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Dec 2003 08:00:39 -0800
dottavio@ised.it (Antonio) wrote in message news:<fb35ea96.0312100329.7147c03@posting.google.com>...
> 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
Not simple, but...
The CheckBox check is an Icon.
//Metal UIDefault key
CheckBox.icon
If it is really important to you, you can change the default to
something you create.
Look in the IconFactory for the look and feel you are using.
Take the code for CheckBoxIcon and modify it to suit your needs.
Either set the default icon in the look and feel when you start your
client or
individually set the icon for each check box you create.
- Next message: Paul: "Struts vs JWSD( Java Web Service Developement)"
- Previous message: haim: "XpoLog 2.2 Security released - Powerful log viewer"
- In reply to: Antonio: "Color of Disabled Checkboxes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|