SwingUtilities.invokeAndWait(runner);
return password[0];
}
catch (InterruptedException e) {
logger.error("Unexpected exception while waiting for password", e);
throw new ServerResponseException(i18n.tr("Abort by user."));
}
catch (InvocationTargetException e) {
logger.error("Unexpected exception while waiting for password", e);
throw new ServerResponseException(i18n.tr("Abort by user."));
}
}