package gve.calc; import gve.calc.formula.FormulaView; public class DropUndo extends gve.calc.formula.UndoAction { private StackCanvas stack; private FormulaView view; public DropUndo(StackCanvas w,FormulaView v) { stack = w; view = v; } public void undo() { System.out.println("undo"); stack.push(view); } }