Package com.apress.progwt.client.college.gui

Examples of com.apress.progwt.client.college.gui.MyPage


        }
    }

    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);

            }
        });
View Full Code Here

TOP

Related Classes of com.apress.progwt.client.college.gui.MyPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.