public void undo()
  {
    if (DEBUG) log("Attempting to undo this CourseAddition");
    if (DEBUG) log("Get list of courses from TaskCommander and remove this course from the list");
    TaskCommander.getCourses().remove(course);
    if (taskViewToUpdate != null)
    {
      if (DEBUG) log("Remove course from taskViewToUpdate");
      taskViewToUpdate.removeCourse(course);
      //taskViewToUpdate.revalidate();
      if (DEBUG) log("Repaint");
      taskViewToUpdate.repaint();
    }
    else
    {
      if (DEBUG) log("taskViewToUpdate == null, so stop execution here");
    }
  }