this.taskSelection = taskSelection;
this.logic = logic;
initComponents();
treeTasks.setModel(logic.getTreeModel(true, true, treeTasks));
MainWindow.adjustTree(treeTasks);
treeTasks.setCellRenderer(new TreeIconCellRenderer());
fpTaskList.setTable(tblTaskList);
getRootPane().registerKeyboardAction(ProgressUtils.getButtonClickListener(btnCancel), ProgressUtils.escStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
getRootPane().registerKeyboardAction(ProgressUtils.getButtonClickListener(btnSelect), ProgressUtils.submitStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
GuiUtils.centerOnScreen(this);
}