*/
private void treeTasksValueChanged(TreeSelectionEvent evt) {
DataObject o = ProgressUtils.getSelectedObjectInTree(treeTasks);
if (o != null) {
if (o instanceof WorkPackage) {
TaskModel model = logic.getTaskModel((WorkPackage) o);
tblTaskList.setModel(model);
tblTaskList.setRowSorter(model.getRowSorter());
tblTaskList.getColumn(lang.getString("ColName")).setPreferredWidth(200);
btnAddTask.setEnabled(((WorkPackage) o).hasEmployee(logic.getEmployee()));
btnEditTask.setEnabled(false);
btnDeleteTask.setEnabled(false);
btnSelect.setEnabled(false);