u.redo();
} catch (ClassCastException exp) {
System.err.println(exp);
}
} else if (action.equals(Constantes.CUT)) {
ClipboardInterface c;
try {
c = (ClipboardInterface) p;
c.cut();
} catch (ClassCastException exp) {
System.err.println(exp);
}
} else if (action.equals(Constantes.COPY)) {
ClipboardInterface c;
try {
c = (ClipboardInterface) p;
c.copy();
} catch (ClassCastException exp) {
System.err.println(exp);
}
} else if (action.equals(Constantes.PASTE)) {
ClipboardInterface c;
try {
c = (ClipboardInterface) p;
c.paste();
} catch (ClassCastException exp) {
System.err.println(exp);
}
} else if (action.equals(Constantes.NEW)) {
AnalyseSave s = Main.analyseFrame.getAnalyseSave();