public void startAutoScroll(String increment){
  this.autoScrolling=true;
  this.autoScrollIncrement=increment;
}

public void startAutoScroll ( String increment ) { this . autoScrolling = true ; this . autoScrollIncrement = increment ; }
start an auto - scroll operation . during auto - scroll , the scroll bar will adjust its value and repaint continuously until the auto - scroll is stopped .
