}
// ----------------------------------------------------------------------------
private void addUndoAction( String displayedText, String description, String icon_name, int mnemonicKey, KeyStroke accelerator )
{
UndoAction undo_action = new UndoAction( displayedText, description, icon_name, MainWindow.getDrawingPanel(), mnemonicKey, accelerator);
add(undo_action);
}