void () { ThreadingAssertions.assertEventDispatchThread(); if (isDisposed()) return; TreeNode root = (TreeNode)myTree.getModel().getRoot(); List<Node> toUpdate = new ArrayList<>(); checkNodeValidity(root, new TreePath(root), toUpdate); queueUpdateBulk(toUpdate, EmptyRunnable.getInstance()); updateOnSelectionChanged(); }