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.