How do i change the background color of the combobox to white in disabled mode.
I have used UIManager.put ( "ComboBox.disabledBackground", Color.WHITE );
This is actually making the background color of the combo box to white. But the problem is when i apply this, the background color of the combo box is changed to white throughout the application. I want the color to change to white only in one screen . How do i do this ? Kindly help me in this regard
You'll need to create your own renderer for the JComboBox model. In this renderer class you can tell it to set a background color if the index is disabled.