public boolean notifyIndeterminantProgress() { this.ensureVisible(); this.progressBar.setIndeterminate(true); this.clearProgressText(); return !this.isCancelPending(); }
public boolean notifyProgress(double progress) { this.ensureVisible(); this.setProgressBarValue((int) Math.floor(100.0 * progress), 100); this.clearProgressText(); return !this.isCancelPending(); }