added UndoRedo to swing module