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

JFileChooser: Filter combobox selection/traversal broken.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta3
    • x86
    • windows_nt
    • Verified

      The JComboBox used by JFileChooser to select file filters has seen a regression in merlin-beta2 that makes it difficult to select a filter with the mouse or traverse the JComboBox with the keyboard.

      To see this in action, run the SwingSet2 demo and open the Preview JFileChooser. Try to select the "All Files" filter. It cannot be done until the other option is first selected. Nor can the JComboBox list be traversed by the keyboard.

      Try the stand-alone FileChooserDemo. Check all boxes under "Filter Controls" and then show the FileChooser. The filter combo box cannot be traversed by the keyboard until another item has first been selected by the mouse.

      --------------------

      As reported by another user:

      There was a weird problem with the file selection dialog. Let's say the
      wildcard options had three entries, in order of appearance: *, *.class
      and *.so. *.so is the default option. You couldn't select the *.class option
      unless you first selected the "*" option. If the list had two entries and
      the second was selected by default, you couldn't select the first at all.

            leifs Leif Samuelsson (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: