code: public void setTitle(String newText) {
          String oldText = getTitle();
          titleLabel.setText(newText);
          firePropertyChange("title", oldText, newText);
      }
docs: Sets a new title text.
  
  @param newText
  the title text tp be set