super("Cancel");
}
public void actionPerformed(ActionEvent e) {
Locomotive locomotive = presentationModel.getBean();
locomotive.removePropertyChangeListener(LocomotiveConfig.this);
okPressed = false;
cancelPressed = true;
LocomotiveConfig.this.setVisible(false);
}
}