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

JComboBox.processKeyEvent() hardcodes TAB key to close popup

      Currently the spec for JComboBox.processKeyEvent() is following:
      "Handles KeyEvents, looking for the Tab key. If the Tab key is found, the popup window is closed."
      But the key to close popup window should be current L&F dependent. Here it's hardcoded for all L&Fs. Is it intentional to preserve this TAB dependency to close popup?
      It'll be useful to remove such TAB dependency in processKeyEvent() method and make it really L&F dependent.

            Unassigned Unassigned
            aglasman Alexander Glasman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: