Package org.emrick.project
Class EmrickFileChooser
java.lang.Object
org.emrick.project.EmrickFileChooser
Provides file and folder dialogs with direct path entry and per-user remembered locations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Filechoose(Component parent, String key, String title, String description, String extension, int selectionMode, boolean saveDialog) static FilechooseDirectory(Component parent, String key, String title) static Filestatic Fileprivate static FilegetLastDirectory(String key) private static Propertiesprivate static FilenormalizeExtension(File file, String extension, boolean saveDialog) private static voidrememberDirectory(String key, File directory) private static StringstripSurroundingQuotes(String path)
-
Field Details
-
PREFERENCES_FILE
-
LAST_DIRECTORIES
-
-
Constructor Details
-
EmrickFileChooser
private EmrickFileChooser()
-
-
Method Details
-
chooseOpenFile
-
chooseSaveFile
-
chooseDirectory
-
choose
-
normalizeExtension
-
stripSurroundingQuotes
-
getLastDirectory
-
rememberDirectory
-
loadLastDirectories
-