/* (non-Javadoc)
* @see com.adito.agent.client.gui.swt.SWTSystemTrayGUI#promptForCredentials(boolean, com.maverick.http.HttpAuthenticator)
*/
public boolean promptForCredentials(final boolean proxy, final HttpAuthenticator authenticator) {
return ((Boolean)SWTRunner.syncExec(getDisplay(), new SWTRunner() {
public Object doRun() {
return new Boolean(SWTAuthenticationDialog.promptForCredentials(proxy, getShell(), authenticator, proxy ? null : authImage));
}
})).booleanValue();