private void updateProgress(long increment) {
    myIndicator.checkCanceled();
    if (increment > 0) {
      count += increment;
      if(!myIndicator.isIndeterminate()) myIndicator.setFraction((double)count / myAvailable);
    }
  }
private void updateProgress(long increment)