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

Win: unable to save file name with selected extension filter.

XMLWordPrintable

      Create a simple program to launch a FileChooser SaveDialog, and add several extension filters, for example: *.txt, *.java, *.*. Run the program, when the save dialog is displayed, select *.txt from the filters, and type file name without extension, then click "Save". Observe the file name to save, the extension ".txt" is not attached, and it seems there is no method of FileChooser to get the selected filter extension.
      Not sure if it's an expected feature, but it's not convenient.

            anthony Anthony Petrov (Inactive)
            jennyh Jenny Huang (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: