code: public void updateTitle() {
  
          m_publishDialog.setCaption(
              Messages.get().key(
                  Messages.GUI_PUBLISH_DIALOG_PROBLEMS_2,
                  m_publishDialog.getSelectedWorkflow().getNiceName(),
                  String.valueOf(m_list.getWidgetCount())));
      }
docs: Updates the dialog title.<p>