docs: public synchronized ProgressBar setValue(int value) {
          if(value < min) {
              value = min;
          }
          if(value > max) {
              value = max;
          }
          if(this.value != value) {
              this.value = value;
              invalidate();
          }
          return this;
      }