I am using Swing with the Look And Feel Nimbus. I've changed the default colors, with code like this:
UIManager.put("nimbusBase", BLUE);
UIManager.put("inactiveCaption", GRAY);
...
The problem, is that a disabled JSpinner
doesn't use gray for it's background (like all the other components), but blue instead:
If I change the "nimbusBase", then my scrollbars etc aren't blue any more. How do I set a disabled JSpinner
's background to gray?
Note: Adding this doesn't change anything:
UIManager.put("Spinner.disabled", GRAY);