public void run()
  {
    if (DEBUG) log("Attempting to run CourseAddition command");
    //course = new Course(courseName);
    if (DEBUG) log("Get courses from TaskCommander and add this course to the list");
    TaskCommander.getCourses().add(course);
    if (taskViewToUpdate != null)
    {
      if (DEBUG) log("Add course to taskViewToUpdate");
      taskViewToUpdate.addCourse(course);
      if (DEBUG) log("Revalidate and repaint");
      taskViewToUpdate.revalidate();
      taskViewToUpdate.repaint();
    }
    else
    {
      if (DEBUG) log("taskViewToUpdate == null, so stop execution here");
    }
  }