listOfDocuments = null;
Configuration.log("LogedIn");
} catch (GoogleService.CaptchaRequiredException captchaException) {
Configuration.log("Problem with login");
Configuration.log(captchaException);
CaptchaDialog dialog = new CaptchaDialog(captchaException.getCaptchaUrl());
dialog.setModal(true);
dialog.setVisible(true);
if (dialog.getReturnCode()==JOptionPane.OK_OPTION) {
service.setUserCredentials(creditionals.getUserName(),creditionals.getPassword(),captchaException.getCaptchaToken(),dialog.getReturnValue());
spreadsheetService.setUserCredentials(creditionals.getUserName(),creditionals.getPassword(),captchaException.getCaptchaToken(),dialog.getReturnValue());
isLogedIn=true;
this.creditionals = creditionals;
listOfDocuments = null;
}
}