public final class FileDialoger extends Object
Modifier and Type | Method and Description |
---|---|
static JFileChooser |
promptToOpenFile() |
static JFileChooser |
promptToOpenFile(String existingFileName) |
static JFileChooser |
promptToOpenFile(String[] exts)
Prompts the user to choose a file from their filesystems for our own
devious uses.
|
static JFileChooser |
promptToOpenFile(String[] exts,
String existingFileName)
Prompts the user to choose a file from their filesystems for our own
devious uses.
|
static JFileChooser |
promptToSaveFile(String filename)
Prompts the user to choose a file from their filesystems for our own
devious uses.
|
static JFileChooser |
promptToSaveFile(String filename,
String[] extensions)
Get a JFileChooser with a new FileFilter.
|
public static JFileChooser promptToOpenFile()
public static JFileChooser promptToOpenFile(String existingFileName)
public static JFileChooser promptToOpenFile(String[] exts)
public static JFileChooser promptToOpenFile(String[] exts, String existingFileName)
public static JFileChooser promptToSaveFile(String filename)
promptToOpenFile()
public static JFileChooser promptToSaveFile(String filename, String[] extensions)
filename
- file nameextensions
- list of extensionsCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.