void (TreeModelEvent e) { final Object root = myModel.getRoot(); if (e.getTreePath().getLastPathComponent() == root) { setUpEmptyText(); final int childCount = myModel.getChildCount(root); final boolean showRoot = childCount > 1 || childCount == 1 && showFull.get(); if (showRoot && !myStateBean.isShowOnlyModified() && !myStateBean.isHideFullyCovered()) { showFull.set(true); } if (showRoot != myTable.getTree().isRootVisible()) { myTable.getTree().setRootVisible(showRoot); } } }