}
protected void initFileChooser() {
if (chooser == null) {
chooser = new JFileChooser(".");
chooser.addChoosableFileFilter(new MultiExtFileFilter("Text files", "txt"));
}
if (lastConfig.length() > 0) {
chooser.setSelectedFile(new File(lastConfig));
}