getModel().setFileEnabled(!getModel().isFileEnabled());
} else if (src == selectButton) {
int result = chooser.showSaveDialog(getLogFrame());
if (result != JFileChooser.APPROVE_OPTION) return;
File file = chooser.getSelectedFile();
if (file.exists() && (!file.canWrite() || file.isDirectory())) {
JOptionPane.showMessageDialog(getLogFrame(),
StringUtil.format(Strings.get("fileCannotWriteMessage"), file.getName()),
Strings.get("fileCannotWriteTitle"),
JOptionPane.OK_OPTION);
return;