code: protected void addDialogComponents() {
  		JComponent dialogContentPane = createDialogContentPane();
  		GuiStandardUtils.attachDialogBorder(dialogContentPane);
  		if (getPreferredSize() != null) {
  			dialogContentPane.setPreferredSize(getPreferredSize());
  		}
  		getDialogContentPane().add(dialogContentPane);
  		getDialogContentPane().add(createButtonBar(), BorderLayout.SOUTH);
  	}
docs: Subclasses may override to customize how this dialog is built.