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

JFileChooser - Entering a wildcard in the file name text box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.2.2
    • client-libs
    • beta
    • generic
    • generic



      Name: skT88420 Date: 06/03/99


      In the JFileChooser, if you enter a wildcard (*.txt) and then either
      hit enter or click on the open button it exits and from the JFileChooser
      and returns the APPROVE_OPTION value. This is not the proper behavior.
      The JFileChooser should use the wildcard as filter for the current
      directory the user is in and when open is clicked or enter is typed
      it should then display only the files that match the wildcard criteria.
      Returning the APPROVE_OPTION value tells an app that it is OK to try
      and open a file with a wildcard in it. There is no specific code
      that causes this problem. This occurs on Windows NT v4.0 service pack 4.

      C:\>java -version
      java version "1.2.2"
      Classic VM (build JDK-1.2.2-U, native threads, symcjit)

      C:\>java -fullversion
      java full version "JDK-1.2.2-U"
      (Review ID: 83875)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: