myTaskManager.addTaskListener(new TaskModelModificationListener(this));
if (ourWindowListener != null) {
addWindowListener(ourWindowListener);
}
addMouseListenerToAllContainer(this.getComponents());
myDelayManager = new DelayManager(myTaskManager, tree);
Mediator.registerDelayManager(myDelayManager);
myDelayManager.addObserver(tree);
myTaskManager.addTaskListener(myDelayManager);
getRootPane().getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(