void update() {
    Color color = getTextForeground();
    myText.setForeground(color);
    myText2.setForeground(color);
    myProgressBar.setForeground(color);

    if (!StringUtil.equals(myText.getText(), progress.getText())) {
      myText.setText(StringUtil.defaultIfEmpty(progress.getText(), " "));
    }
    if (!StringUtil.equals(myText2.getText(), progress.getText2())) {
      myText2.setText(StringUtil.defaultIfEmpty(progress.getText2(), " "));
    }
    if ((progress.isIndeterminate() || progress.getFraction() == 0.0) != myProgressBar.isIndeterminate()) {
      myProgressBar.setIndeterminate(progress.isIndeterminate() || progress.getFraction() == 0.0);
      myProgressBar.revalidate();
    }

    if (!myProgressBar.isIndeterminate()) {
      myProgressBar.setValue((int)(progress.getFraction() * 99) + 1);
    }

    myEastButtons.forEach(b -> b.updateAction.run());
  }
void update()