All, I am using java swing's UIManager to set this theme
UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
This theme is terrible at differentiating disabled/enabled backgrounds for buttons, so I've been battling trying to get this to change the disabled background. Nothing is working for me. I don't understand what I'm doing wrong, below are all my approaches so far
//My color constant
Color disabledButton = new Color(255,124,124);
//Maybe its these?
UIManager.put("Button.background", disabledButton);
UIManager.put("Button.foreground", disabledButton);
//No maybe this...
UIManager.put("Button.disabled", disabledButton);
//Okay how about this
UIManager.put("Button.disabled", "DerivedColor(color=255,124,124 parent=control offsets=0.0,0.0,0.0,0 pColor=255,124,124");
//NO!!?!?! WELL FINE ILL SET THE BACKGROUND MYSELF
myButton.setBackground(disabledButton);
None of these work... where am I making an error?