fc.setSelectedFile(null);
}
+ public File getImageFile() {
+ if (this.paramDir.isEnable()) {
+ String text = this.argField.getText();
+ if (text != null) {
+ try {
+ File dir = this.paramDir.getDirectory();
+ File file = new File(dir, text);
+ if (file.exists() && file.isFile()) {
+ return file;
+ }
+ }
+ catch (FileNotFoundException e) {
+ return null;
+ }
+ }
+ }
+ return null;
+ }
+
/**
*
* @return