public class MyIOUtilities extends Object
Constructor and Description |
---|
MyIOUtilities() |
Modifier and Type | Method and Description |
---|---|
static File |
openFile(Frame frame,
String defaultDir,
String[] ext,
String[] extDescription) |
static File |
selectFile(Component frame,
String caption,
String currentDirectory,
String[] ext,
String[] extDescription,
boolean open) |
static File |
selectFile(Component frame,
String caption,
String currentDirectory,
String[] ext,
String[] extDescription,
boolean open,
JComponent accessoryPanel)
Invokes OpenFile or SaveFile dialog
|
static File[] |
selectFiles(Component frame,
String caption,
String currentDirectory,
String[] ext,
String[] extDescription,
boolean open,
JComponent accessoryPanel) |
public static File openFile(Frame frame, String defaultDir, String[] ext, String[] extDescription)
public static File selectFile(Component frame, String caption, String currentDirectory, String[] ext, String[] extDescription, boolean open)
public static File selectFile(Component frame, String caption, String currentDirectory, String[] ext, String[] extDescription, boolean open, JComponent accessoryPanel)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.