FileNameExtensionFilter: show extension in File name
807605Jul 7 2007 — edited Jul 8 2007I am using JFileChooser and FileNameExtensionFilter for programming File>Save As.
I allow to save a file with the extension "ac" or the extension "ps".
I have 2 FileNameExtensionFilters with these extensions.
I have 2 questions:
1) Is it possible to show the extension in the "File name" box (not just the "Files of type box"), such as:
out.ac or out.ps depending on the FileNameExtensionFilter?
2) Why is there no complaint if I try to save a file on top of an already existing file?