I want to change Color of Progressbar from Default-Orange to Green for Nimbus UI in NetBeans.
I have added following lines
for (javax.swing.UIManager.Loo
A quick solution for me: change the nimbusOrange
color for all components, if you dont write your own Painter.
UIDefaults defaults = UIManager.getLookAndFeelDefaults();
NimbusLookAndFeel localNimbusLookAndFeel = (NimbusLookAndFeel)UIManager.getLookAndFeel();
Color derivedColor = localNimbusLookAndFeel.getDerivedColor("nimbusBase", 0.03054375F, -0.3835404F, -0.0980392F, 0, true);
defaults.put("nimbusOrange",derivedColor);