JDK-4994329 : GTK: JColorChooser hue spinner doesn't update the selected color
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-02-13
  • Updated: 2004-10-13
  • Resolved: 2004-09-14
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 JDK 6
5.0u3Fixed 6 betaFixed
Description
Name: ibR10256			Date: 02/13/2004


In the GTK look&feel changing the JColorChooser hue spinner value
doesn't have any effect. All the other chooser spinners (Saturation,
Value, Red, Green, Blue) update the selected color when their values
are changed.
---------------------------------------------

======================================================================
###@###.### 10/13/04 17:54 GMT

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon mustang FIXED IN: mustang INTEGRATED IN: mustang
14-09-2004

SUGGESTED FIX Name: ibR10256 Date: 02/18/2004 *** GTKColorChooserPanel.java- Mon Feb 16 14:29:37 2004 --- GTKColorChooserPanel.java Fri Feb 13 12:42:47 2004 *************** *** 161,167 **** lastLabel.setMaximumSize(new Dimension(67, 32)); hueSpinner = new JSpinner(new SpinnerNumberModel(0, 0, 360, 1)); ! // configureSpinner(hueSpinner, "GTKColorChooserPanel.hueSpinner"); saturationSpinner = new JSpinner(new SpinnerNumberModel(0, 0, 255, 1)); configureSpinner(saturationSpinner, "GTKColorChooserPanel.saturationSpinner"); --- 161,167 ---- lastLabel.setMaximumSize(new Dimension(67, 32)); hueSpinner = new JSpinner(new SpinnerNumberModel(0, 0, 360, 1)); ! configureSpinner(hueSpinner, "GTKColorChooserPanel.hueSpinner"); saturationSpinner = new JSpinner(new SpinnerNumberModel(0, 0, 255, 1)); configureSpinner(saturationSpinner, "GTKColorChooserPanel.saturationSpinner"); ###@###.### 2004-02-18 ======================================================================
18-02-2004

EVALUATION Name: ibR10256 Date: 02/16/2004 The code which adds the necessary change listener to the hue spinner is commented, and the same code works well for all the other spinners. Should be fixed. ###@###.### 2004-02-16 ======================================================================
16-02-2004