Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4515752

RFE: ENTER on non-modified editable JComboBox should go to the Default Button

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4.1
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      generic
    • OS:
      generic

      Description

      According to the Java Look and Feel Design guidelines, Return/Enter is supposed to close a combobox list and commit any change. If the list is already closed, it would be nice if Return/Enter would active the default button on the dialog box.

      This makes the most sense for a non-editable combo box. Consideration should also be given for whether this makes sense for an editable combo box (maybe the first return commits any edit, and the second one is passed to the default button/container?)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdavidsosunw Mark Davidson (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: