code: public void setSignature(String signature, boolean repaintIsNotNeeded) {
          String oldSignature = this.signature;
          if (!SharedUtil.equals(oldSignature, signature)) {
              this.signature = signature;
              if (!repaintIsNotNeeded) {
                  updateSignature();
              }
          }
      }
docs: Set signature current signature value.
  @param signature Signature
  @param repaintIsNotNeeded Repaint is not needed