protected Node getTaskView() { if (taskTableView == null) { taskTableView = new TreeTableView<>(new TreeItem<>()); taskTableView.setShowRoot(false); } if (taskDescriptionTreeTableColumn == null) { taskDescriptionTreeTableColumn = new TaskDescriptionTreeTableColumn(); taskDescriptionTreeTableColumn.setPrefWidth(300); taskDescriptionTreeTableColumn.setMinWidth(300); } if (taskStatusTreeTableColumn == null) { taskStatusTreeTableColumn = new TaskStatusTreeTableColumn(); taskStatusTreeTableColumn.setPrefWidth(30); taskStatusTreeTableColumn.setMinWidth(30); } AnchorPane anchorPane = new AnchorPane(taskTableView); anchorPane.setPadding(new Insets(6)); AnchorPane.setTopAnchor(taskTableView, 0d); AnchorPane.setRightAnchor(taskTableView, 0d); AnchorPane.setBottomAnchor(taskTableView, 0d); AnchorPane.setLeftAnchor(taskTableView, 0d); return anchorPane; }