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

JFileChooser should allow traversable but unacceptable directories

XMLWordPrintable

      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!

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: