public void actionPerformed(ActionEvent event) {
Object src = event.getSource();
if (src == revert) {
getProject().doAction(LogisimFileActions.revertDefaults());
} else if (src == close) {
WindowEvent e = new WindowEvent(OptionsFrame.this,
WindowEvent.WINDOW_CLOSING);
OptionsFrame.this.processWindowEvent(e);
}
}