Re: Color of Disabled Checkboxes

From: Anil Sharma (anils_at_in.niksun.com)
Date: 12/15/03

  • Next message: haim: "XpoLog 2.2 Security released - Powerful log viewer"
    Date: 14 Dec 2003 20:45:11 -0800
    
    

    Hi Antonio,

    Just try out the UIManager's 'CheckBox.disabledText' property-

    UIManager.put("CheckBox.disabledText", new Color(0,0,255));

    It makes the text color 'blue' of a disabled checkBox, but checkBox remains 'gray'.

    -Anil.

    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


  • Next message: haim: "XpoLog 2.2 Security released - Powerful log viewer"