United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6579827 vista : JSlider on JColorchooser is not properly render or can't be seen completely.
JDK-6579827 : vista : JSlider on JColorchooser is not properly render or can't be seen completely.

Details
Type:
Bug
Submit Date:
2007-07-12
Status:
Resolved
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2009-09-16
Component:
client-libs
OS:
windows_vista
Sub-Component:
javax.swing
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Duplicate:
Relates:
Relates:

Sub Tasks

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

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

The preferred size of the slider has unexpected values on Vista.
This layout was rewritten in the fix for the 6552812 bug.
                                     
2008-07-18
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).
                                     
2009-08-21



Hardware and Software, Engineered to Work Together