Class FWFileChooserHelper
java.lang.Object
net.simplace.ui.service.FWFileChooserHelper
File dialogs of the GUI.
- Author:
- Andreas Enders
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilechooseFile(String aExtension) Shows a save dialog restricted to the given extensions.
-
Method Details
-
chooseFile
Shows a save dialog restricted to the given extensions. The selected extension is appended if the file name does not end with it; the user is asked before an existing file is overwritten. The chosen directory is remembered inFWConstants.LAST_FOLDER.- Parameters:
aExtension- comma separated list of allowed extensions without dot- Returns:
- the chosen file, or
nullif the dialog was cancelled
-