Contains helpers for JFileChooser related functionality.
A simple FileFilter class, suitable for use with the showSaveDialog() function, and of course Java’s JFileChooser class.
Creates a file chooser dialog that remembers its last directory.
Shows a save dialog that remembers the last directory based on the given preferences key. If the selected file filter has a ‘suffix’ attribute, it will be appended to the selected file name if it’s missing.
| Parameters: |
|
|---|---|
| Returns: | list of selected files (if multiselect=True), else the selected file |
| Return type: | java.io.File |
Shows a save dialog that remembers the last directory based on the given preferences key. If the selected file filter has a ‘suffix’ attribute, it will be appended to the selected file names if it’s missing.
| Parameters: |
|
|---|---|
| Returns: | the selected file |
| Return type: | java.io.File |