527528529530531532533534535536537
routePersistence.addRoute(route); } else { routePersistence.updateRoute(route); } okPressed = true; route.removePropertyChangeListener(RouteConfig.this); RouteConfig.this.setVisible(false); } }
541542543544545546547548549550551
super("Cancel"); } public void actionPerformed(ActionEvent e) { Route route = presentationModel.getBean(); route.removePropertyChangeListener(RouteConfig.this); okPressed = false; cancelPressed = true; RouteConfig.this.setVisible(false); } }