code: public void setFromString(String labelStr) {
      Label lab = label();
      if (lab != null) {
        lab.setFromString(labelStr);
      }
    }
docs: Make a new label with this <code>String</code> as the "name", perhaps
  by doing some appropriate decoding of the string.
  
  @param labelStr the String that translates into the content of the
  label