JDK-6601798 : Nimbus L&F: JComboBox should act like button on rollover when not editable.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u5
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-06
  • Updated: 2011-02-16
  • Resolved: 2007-11-07
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 6
6u10 b07Fixed
Description
The JComboBox should act like a button when it is not editable. Meaning, rollover on any part of the combo should cause the entire combo box to go into rollover state. Also, pressing on any part of the combo should cause a combo box dropdown to appear, and the combo box should go into it's pressed state. For backwards compatibility, a UI default key should be used to indicate whether the combo should "act like a button" when not editable.

Comments
EVALUATION Some code in SynthComboBox UI needs to be added to treat the entire combo box as a button based on a flag in UIDefaults.
10-09-2007