public void updateProgressNow() {
    if (isPaintingIndeterminate()) {
      progress.setIndeterminate(true);
    }
    else {
      progress.setIndeterminate(false);
      progress.setMinimum(0);
      progress.setMaximum(100);
    }
    if (getFraction() > 0) {
      progress.setValue((int)(getFraction() * 99 + 1));
    }

    String text = getText();
    String text2 = getText2();
    setTextValue(text != null ? text : "");
    setText2Value(text2 != null ? text2 : "");

    if (isCompact && StringUtil.isEmpty(getTextValue())) {
      setTextValue(info.getTitle());
    }

    if (isStopping()) {
      if (isCompact) {
        setTextValue(IdeBundle.message("progress.text.stopping", getTextValue()));
      }
      else {
        setProcessNameValue(IdeBundle.message("progress.text.stopping", info.getTitle()));
        setTextEnabled(false);
        setText2Enabled(false);
      }
      progress.setEnabled(false);
    }
    else {
      setTextEnabled(true);
      setText2Enabled(true);
      progress.setEnabled(true);
    }

    for (ProgressButton button : eastButtons) {
      button.updateAction.run();
    }
  }
public void updateProgressNow()