-
Bug
-
Resolution: Fixed
-
P3
-
7
-
None
-
b84
-
x86
-
linux_ubuntu
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2194432 | OpenJDK6 | Peter Zhelezniakov | P3 | Resolved | Fixed | b20 |
Attached is the example. This little example is a modification of a demo written by Jasper Potts. It shows two problems:
1. UIManager.put() is supposed to work, but I had to use UIManager.getLookAndFeelDefaults().put, even though I had already set the L&F.
2. In order to the get background painter for the thumb to work, I couldn't just set the Slider:SliderThumb.background property (as specified), I had to set the seven keys for the background states.
See the example for more info.
1. UIManager.put() is supposed to work, but I had to use UIManager.getLookAndFeelDefaults().put, even though I had already set the L&F.
2. In order to the get background painter for the thumb to work, I couldn't just set the Slider:SliderThumb.background property (as specified), I had to set the seven keys for the background states.
See the example for more info.
- backported by
-
JDK-2194432 [Nimbus] Code to globally set slider's thumb background doesn't work as specified
-
- Resolved
-
- relates to
-
JDK-6960808 OpenJDK 6 Nimbus build failure
-
- Resolved
-