code: public static ProcessContext showDialog(Window parentWindow) throws Exception {
          ProcessContextDialog contextDialog = new ProcessContextDialog(parentWindow);
          contextDialog.setUpGUI();
          return contextDialog.getDialogObject();
      }
docs: ------- STARTUP ---------------------------------------------------------------------------------------------------------------