public void openDir() {
File dir = null;
boolean recursive = false;
try {
FileChooser chooser = new FileChooser();
dir = chooser.getSelectedFile();
recursive = chooser.recursive();
} catch (Exception e) {
logger.error(I18N.translate("error.open_dir"), e);
}
if(dir != null) {