public void stop(boolean hide){
  if (hide) {
    setVisible(false);
  }
  timer.stop();
}

public void stop ( boolean hide ) { if ( hide ) { setVisible ( false ) ; } timer . stop ( ) ; }
stops the spinning . this is a good thing to do if your spinner won ' t be shown all the time . you should stop it while it is not visible . set hide to true to automatically set visible to false
