InspectionsConfigTreeTable () { InspectionsConfigTreeTable table = InspectionsConfigTreeTable.create(new MyInspectionsTableSettings(myRoot, myProject), this); table.setRootVisible(false); table.setTreeCellRenderer(new MyInspectionsTreeRenderer()); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.getTree().getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); table.getTree().addTreeSelectionListener(e -> updateDetailsPanel()); table.setBorder(IdeBorderFactory.createBorder()); return table; }