}
try {
OutputStream os = new FileOutputStream(configFile);
props.store(os, "GUIConfigurator process");
os.close();
new MainHandler(configFile);
} catch (IOException ig) {
}
}
});
Button defButton = new Button("По-умолчанию");
defButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
new MainHandler(fillDefaultConfig());
}
});
configPanel.add(saveButton);
configPanel.add(defButton);