@Override
  protected void setModel(TreeModel model) {
    if (!isLargeModelAllowed(getTree())) {
      largeModel = false;
    }
    super.setModel(model);
  }
@Override
  protected void setModel(TreeModel model)