JDK-5099681 : Windows/Motif L&F: JSlider should use foreground color for ticks.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2004-09-09
  • Updated: 2008-09-03
  • Resolved: 2008-09-03
Related Reports
Relates :  
Description
5003968 changed JSlider to use the foreground for painting the labels. For consistency, we should use the foreground also to paint the ticks. This is not currently the case for the Motif or Windows look and feels.

Comments
EVALUATION As say documentation for setForeground: /** * Sets the foreground color of this component. It is up to the * look and feel to honor this property, some may choose to ignore * it. In this case Windows/Motif L&F uses foreground property only for labels. Windows LAF draws track, thumb and tick with black color.
03-09-2008