private static void removeTreeListeners(JComponent mainComponent) {
    Runnable remover = ComponentUtil.getClientProperty(mainComponent, TREE_LISTENERS_REMOVER);
    if (remover != null) remover.run();
  }
private static void removeTreeListeners(JComponent mainComponent)