Package com.pixelmed.display
Class SafeFileChooser
java.lang.Object
com.pixelmed.display.SafeFileChooser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JFileChooser
protected static ResourceBundle
protected static String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
void
setDialogTitle
(String dialogTitle) void
setFileSelectionMode
(int mode) int
showOpenDialog
(Component parent) int
showSaveDialog
(Component parent)
-
Field Details
-
resourceBundleName
-
resourceBundle
-
chooser
-
-
Constructor Details
-
SafeFileChooser
public SafeFileChooser() -
SafeFileChooser
-
-
Method Details
-
localizeJFileChooser
protected static void localizeJFileChooser() -
setFileSelectionMode
- Throws:
IllegalArgumentException
-
showOpenDialog
- Throws:
HeadlessException
-
getCurrentDirectory
-
getSelectedFile
-
showSaveDialog
- Throws:
HeadlessException
-
setDialogTitle
- Throws:
HeadlessException
-