/**
  * This method does (if the wizard is currently shown) the same as if the finish-button has been
  * pressed.
  */
 public void finish() {
   if (dynamicWizardDialog != null) dynamicWizardDialog.finishPressed();
 }