Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6579827
Votes 0
Synopsis vista : JSlider on JColorchooser is not properly render or can't be seen completely.
Category java:classes_swing
Reported Against
Release Fixed 7(b72)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6552812 , 6561639 , 6594743
Submit Date 12-JUL-2007
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.
Posted Date : 2007-07-12 10:30:14.0
Work Around
N/A
Evaluation
We should revrite layout in the following method:
javax.swing.colorchooser.DefaultHSBChooserPanel.buildSliderPalettePanel()
Posted Date : 2007-11-27 11:34:24.0

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

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).
Posted Date : 2009-08-21 11:36:03.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang