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

jfilechooser always shows hidden files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • client-libs



      Name: skT88420 Date: 12/16/99


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-001, native threads, symcjit)


      JFileChooser always shows hidden files, no matter the setting.
      Method isFileHidingEnabled() always return the correct setting.

      Under demo that come with JDK 1.2.2-001, the FileChooserDemo always shows
      hidden files. No code in the demo was modified. My personal drive at work is
      under UNIX which is mapped as a network drive, and the hidden files under UNIX
      (.filename) are always shown by the demo.

      The ExampleFileView.java has code which should hide file name starting with dot
      as first character. But the demo won't work.

      Further more, no details are given on how to hide files from JFileChooser.

      ExampleFileView.java has the method "public Boolean isHidden(File f)", which is
      not mentioned in the API document.

      Please verify the bug and specify how JFileChooser is supposed to know which
      files to hide.
      (Review ID: 99069)
      ======================================================================

            leifs Leif Samuelsson (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: