}
return goAhead[0];
}
private KongaDialog createDialog(Prompt prompt) {
KongaDialog dlg = new KongaDialog(UiUtils.getActiveFrame(), "Stop current test?", true);
dlg.setFixedButtonSize(false);
BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 10);
cp.center(prompt).south(dlg.getButtonPanel(KongaDialog.OK_CANCEL, 10));
dlg.getOKButton().setText(prompt.mode.continueLabel);
dlg.getCancelButton().setText(prompt.mode.cancelLabel);
cp.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dlg);
dlg.setResizable(false);
dlg.manageLocation(LogoutWhileDebuggingHandler.class);
dlg.pack();
dlg.setOkButtonAsDefault();
return dlg;
}