protected void onTableChanged(@NotNull TableModelEvent e) {
    if (!myRowHeightIsExplicitlySet) {
      setRowHeightWithScaler(-1);
    }
    if (e.getType() == TableModelEvent.DELETE && isEmpty() ||
        e.getType() == TableModelEvent.INSERT && !isEmpty() ||
        e.getType() == TableModelEvent.UPDATE) {
      UIUtil.repaintViewport(this);
    }
  }
protected void onTableChanged(@NotNull TableModelEvent e)