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

File dialogs should respect the list of valid file extensions

XMLWordPrintable

    • b10
    • x86
    • windows_xp

      Name: rmT116609 Date: 04/01/2004


      A DESCRIPTION OF THE REQUEST :
      When using FileOpenService and FileSaveService, I pass in a list of extensions that it should show in the file dialog by default. The Java Web Start implementation ignores these; it always lists All Files.

      The JNLP spec says that this might happen, but this implementation should do better than that, and actually pay attention to the list of extensions.

      JUSTIFICATION :
      My users are trying to open files that my app doesn't support and getting errors. And they're saving files with random extensions, leading to further errors.
      (Incident Review ID: 240367)
      ======================================================================

            billyh William Harnois
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: