* (non-Javadoc)
*
* @see net.sourceforge.ganttproject.task.TaskManager#createTask(int)
*/
public GanttTask createTask(int taskID) {
GanttTask result = new GanttTask("", new GanttCalendar(), 1, this,
taskID);
if (result.getTaskID() >= getMaxID()) {
setMaxID(result.getTaskID() + 1);
}
// result.setTaskID(taskID);
// getTaskHierarchy().move(result, getRootTask());
// result.move(getRootTask());
fireTaskAdded(result);