public void checkAndHide(){
  if ((hideRequested() && mouseFurtherThan(5)) || (mouseFurtherThan(15))) {
    hideTooltip();
  }
}

public void checkAndHide ( ) { if ( ( hideRequested ( ) && mouseFurtherThan ( 5 ) ) || ( mouseFurtherThan ( 15 ) ) ) { hideTooltip ( ) ; } }
checks if the tooltip should be hidden , and if so , does it .
