JDK-6579827 : vista : JSlider on JColorchooser is not properly render or can't be seen completely.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2007-07-12
  • Updated: 2011-01-19
  • Resolved: 2009-09-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b72Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
JSlider on JColorchooser is not properly render or can't be seen completely. JSlider look like some other unknown component. I checked this in vista ultimate & vista home premium.

Step to reproduce:-
------------------
1) Run  SwingSet2.
2) Select ColorChooser demo.
3) Click on "Background" button. The color chooser dialog is visible. 
4) Select "HSB" tab. Observe that JSlider between the color is not seen completly.

I have the screen shot of the same. I tested this in jdk1.6.0 & its update releasee & also in jdk1.7.0 b14 & it is reproducable.

Comments
EVALUATION JSlider doesn't recalculate thumb size when the Slider.paintThumbArrowShape property is changed. It's the reason why JSlider cannot return valid preffered size. Therefore JSlider should update the thumbRect field (see the javax.swing.plaf.basic.BasicSliderUI#calculateThumbSize method).
21-08-2009

EVALUATION The preferred size of the slider has unexpected values on Vista. This layout was rewritten in the fix for the 6552812 bug.
18-07-2008

EVALUATION We should revrite layout in the following method: javax.swing.colorchooser.DefaultHSBChooserPanel.buildSliderPalettePanel()
27-11-2007