if(chooser == null) {
File cwd = getText() == null ? null : new File(getText());
if(cwd == null || !cwd.exists()) {
cwd = new File(System.getProperty("user.home")); //$NON-NLS-1$
}
chooser = new FileSelect(FileSelect.FILES_AND_DIRECTORIES,
cwd, true, true);
}
}