public void run() { servant.collectUserCredentials(future); }
public void run() { servant.collectUserCredentials(future, init); }
	public UserCredentials getUserCredentials()	{		//First off, let's make sure that this.open() has already been called.		//If not we return to prevent deadlock.		if (!isValid) return null;  		        //Construct request of mehtod execution.        final SplashScreenFuture future = new SplashScreenFuture();        Runnable doCollectUserCredentials = new Runnable() {            public void run() { servant.collectUserCredentials(future); }        };        //Schedule execution within Swing dispatching thread.        SwingUtilities.invokeLater(doCollectUserCredentials);        		//Now we can safely wait for the user to enter their credentials.		return (UserCredentials) future.get(); 	}