-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
beta
-
generic
-
generic
When foreground color is set on JSlider, the color is used only for painting the ticks. The color is not set for labels of JSlider (screenshot attached) If foreground color is set, it must be used for labels as well.
The behaviour is LAF dependent.
1) Metal -> Ticks are painted using foreground color
2) Motif -> Thumnails are painted using foreground color
3) Windows -> Foreground color is not used at all
4) GTK -> Foreground color is used for ticks and value (not for labels)
Compile and run JSliderTest.java
The behaviour is LAF dependent.
1) Metal -> Ticks are painted using foreground color
2) Motif -> Thumnails are painted using foreground color
3) Windows -> Foreground color is not used at all
4) GTK -> Foreground color is used for ticks and value (not for labels)
Compile and run JSliderTest.java
- relates to
-
JDK-5099681 Windows/Motif L&F: JSlider should use foreground color for ticks.
- Closed