JDK-4234761 : RGB values change in transition from swatches to RGB tabs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0,1.3.1
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98,windows_nt
  • CPU: x86
  • Submitted: 1999-05-03
  • Updated: 2002-10-24
  • Resolved: 2000-02-24
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.
Other
1.4.0 merlinFixed
Related Reports
Duplicate :  
Relates :  
Description

Name: dbT83986			Date: 05/02/99


After a color is selected from a JColorChooser swatch palette, if the user then clicks on the RGB tab, one of the RGB values is often
changed by a count of 1, i.e. the R value might change from 200 to 199. This can cause non-browser safe colors and can lead to problems.

============================
REVIEW NOTE 5/2/99 - User responded with additional information

Thanks for your response...I've done some more testing and I've 
pinpointed the problem:

Open up a JColorChooser in a sample application and select a 
color from the swatch palette (this will be a browser safe color!). 
Now click on the RGB tab and note the RGB values. Now go back 
to the palette; click on the HSB tab and then again on the RGB 
tab...almost every time, the RGB values will have changed (1 or 
two of them) by a count of 1, thus causing the selected color to be 
non-browser safe!!!

Please let me know if you manage to reproduce this and what you 
suggest. 
(Review ID: 57458) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin FIXED IN: merlin INTEGRATED IN: merlin VERIFIED IN: merlin
14-06-2004

EVALUATION This is caused by setting the HSB color values from the "location" on the palette rather than using the ColorSelectionModel color. mark.davidson@Eng 2000-02-15
15-02-2000