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

FileDialog doesn't envoke FilenameFilter in Win95

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0.1
    • client-libs
    • x86
    • windows_95



      Name: lb4072 Date: 01/05/97

      In Win95, the FileDialog doesn't call the FilenameFilter
      when loading the dialog box.
      It seems the FileDialog.setFile method is being
      used instead; example:
      fd.setFile("*.txt"); just lists the *.txt files
      fd.setFile("somefile.txt"); lists all the files.
      The FilenameFilter.accept method is never called.
      It was registered via fd.setFilenameFilter()
      method. I was using the example from the Nut
      Shell book.
      ======================================================================

            lbunnisunw Lara Bunni (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: