try {
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
hideProgress();
DebuggerInputDialog dialog = new DebuggerInputDialog(debuggerTab, debuggerTab.getContainer());
dialog.setInputText(rawInputText);
if(dialog.runModal() == XJDialog.BUTTON_OK) {
rawInputText = dialog.getRawInputText();
inputText = dialog.getInputText();
inputFile = dialog.getInputFile();
inputMode = dialog.getInputMode();
startRule = dialog.getRule();
showProgress();
} else
cancel();
}
});