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

JFileChooser should allow traversable but unacceptable directories

    XMLWordPrintable

    Details

      Description

      I would like to use JFileChooser to do the following:

      * Make all directories navigable
      * Make only some files/directories acceptable (via
      the accept() method of FileFilter)

      Currently, this is impossible without overriding some swing code.
      For example, BasicDirectoryModel calls accept() on all files, before
      asking directories whether they are traversable. So, a directory
      cannot be traversable and unacceptable.

      This would make the file chooser much more useful!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              malenkov Sergey Malenkov (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: