code: public void setAutoScrollOnNewValues(boolean autoScroll) {
          if (this.autoScroll == autoScroll) {
              return;
          }
          if (this.autoScroll) {
              removeAutoScrollScrollbarAdjustmentListener();
          }
  
          this.autoScroll = autoScroll;
  
          if (autoScrollAction != null) {
              autoScrollAction.putValue(Action.SELECTED_KEY, autoScroll);
          }
  
          if (this.autoScroll) {
              addAutoScrollScrollbarAdjustmentListener();
          }
      }
docs: Sets if the vertical scroll bar of the wrapper {@code JScrollPane} should be automatically scrolled on new values.
  <p>
  Default value is to {@code true}.
  
  @param autoScroll {@code true} if vertical scroll bar should be automatically scrolled on new values, {@code false}
  otherwise.