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

Extension/Filetype filter in FileSaveService not working (JavaFX 2.2 b7)

    XMLWordPrintable

Details

    Backports

      Description

        I'm using FileSaveService to write a PNG file to the local filesystem..something like that:

        private String[] supportedImageExportExtensions = {"png"};
        [...]
           //Save the image using the JNLP FileSaveService
            fileSaveService.saveFileDialog(null, supportedImageExportExtensions, imageInputStream, "name.png");

        When the user clicks the 'Export' button first a Security Warning dialog appears, then a File Chooser Dialog appears. Instead of having the "png" extension in the list of file filters(under the filename), there's a 'jnlp filter' option selected

        Attachments

          Issue Links

            Activity

              People

                dcherepanov Dmitry Cherepanov
                kiriljfx Kiril (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: