Esempio n. 1
0
 public void undo() {
   try {
     MethodInvocationManager.invokeMethod( // frame,
         parentObject, addMethod, addParams);
     listener.commandActionPerformed();
   } catch (Exception e) {
     System.out.println("Could not undo: " + subtractMethod + " " + e);
   }
 }
Esempio n. 2
0
 public void redo() {
   execute();
   listener.commandActionPerformed();
 }