/** Adds the component to the Petri net */ @Override public void undo() { super.undo(); try { petriNet.add(component); } catch (PetriNetComponentException e) { LOGGER.log(Level.SEVERE, e.getMessage()); } }