}
}
private void setMeUp() {
long start = System.currentTimeMillis();
final MyPage myPage = new MyPage(this);
loadGUI(myPage);
long end = System.currentTimeMillis();
Log.debug("GUI: " + (end - start) / 1000.0);
final long start2 = System.currentTimeMillis();
getLoginService().getUserOrDoLogin(SECURE_TARGET_URL,
new AsyncCallback<User>() {
public void onFailure(Throwable caught) {
Log.error("ToCollegeApp.setmeupFailure " + caught);
}
public void onSuccess(User result) {
long end2 = System.currentTimeMillis();
Log.debug("async: " + (end2 - start2) / 1000.0);
long start3 = System.currentTimeMillis();
myPage.load(result);
long end3 = System.currentTimeMillis();
Log.debug("load: " + (end3 - start3) / 1000.0);
}
});