public GanttProject(boolean isOnlyViewer, boolean isApplet) {
System.err.println("Creating main frame...");
ToolTipManager.sharedInstance().setInitialDelay(200);
ToolTipManager.sharedInstance().setDismissDelay(60000);
TaskSelectionManager taskSelectionManager = new TaskSelectionManager();
Mediator.registerTaskSelectionManager(taskSelectionManager);
/*
* [bbaranne] I add a Mediator object so that we can get the GanttProject
* singleton whereever we are in the source code. Perhaps some of you
* don't like this, but I believe that it is practical...