|
Duplicate :
|
Attached is the example. This little demo was written by Jasper and does not work as specified. I was able to workaround the problem in one of two ways:
- Set the thumb background painter for all 7 states of the thumb.
OR
- Change the order that these two methods are called:
slider.putClientProperty("Nimbus.Overrides", sliderDefaults);
slider.putClientProperty("Nimbus.Overrides.InheritDefaults", false);
See bug 6752660 for more info on the putClientProperty ordering.
|