public class SafeFileChooser
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SafeFileChooser.SafeFileChooserThread |
| Constructor and Description |
|---|
SafeFileChooser() |
SafeFileChooser(java.lang.String currentDirectoryPath) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getCurrentDirectory() |
java.io.File |
getSelectedFile() |
void |
setDialogTitle(java.lang.String dialogTitle) |
void |
setFileSelectionMode(int mode) |
int |
showOpenDialog(java.awt.Component parent) |
int |
showSaveDialog(java.awt.Component parent) |
public SafeFileChooser()
public SafeFileChooser(java.lang.String currentDirectoryPath)
public void setFileSelectionMode(int mode)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic int showOpenDialog(java.awt.Component parent)
throws java.awt.HeadlessException
java.awt.HeadlessExceptionpublic java.io.File getCurrentDirectory()
public java.io.File getSelectedFile()
public int showSaveDialog(java.awt.Component parent)
throws java.awt.HeadlessException
java.awt.HeadlessExceptionpublic void setDialogTitle(java.lang.String dialogTitle)
throws java.awt.HeadlessException
java.awt.HeadlessException