United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6601798 Nimbus L&F: JComboBox should act like button on rollover when not editable.
JDK-6601798 : Nimbus L&F: JComboBox should act like button on rollover when not editable.

Details
Type:
Bug
Submit Date:
2007-09-06
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-11-07
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b07)

Related Reports

Sub Tasks

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.
                                     
2007-09-10



Hardware and Software, Engineered to Work Together