I've been asked to change the colors of a JComboBox in an application to a very particular, non-default color scheme.
I've found that if I change the value of the
System.UserInterface.Colors.SwingDefaults.ControlShadow
of the Resource Map file from this:
<Color ident="ControlShadow" value="#999999"/>
to this:
<Color ident="ControlShadow" value="#FFFFFF"/>
everything looks as it should.
However, I don't want to change the ControlShadow Color for all Swing controls, so I need to find a more focused fix.
Is there a way to change this color for only JComboBoxes?
Note that I tried changing the value of ComboBox.buttonShadow (to #FFFFFF) but this didn't work.