Disable JComboBox background
843804Jul 18 2002 — edited Jun 16 2005Hi guy,
I want to set the background color of a JComboBox.
For a disabled JComBox, I found that the only way is to use
UIManager.getDefaults().put("ComboBox.disabledBackground",
java.awt.Color.red );
However, it will affect all the disabled ComboBox. I want to control the disable color based on some runtime values of the combox
Any workaround