Package net.helipilot50.stocktrade.client

Source Code of net.helipilot50.stocktrade.client.GWTSpringStockTrade

package net.helipilot50.stocktrade.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class GWTSpringStockTrade implements EntryPoint {

  /**
   * Create a remote service proxy to talk to the server-side CustomerSO service.
   */
  private final CustomerSOAsync customerSO = GWT
      .create(CustomerSO.class);

  /**
   * This is the entry point method.
   */
  public void onModuleLoad() {
    RootPanel rootPanel = RootPanel.get();

    HorizontalPanel horizontalPanel = new HorizontalPanel();
    rootPanel.add(horizontalPanel);

    Label lblWelcomToGwt = new Label("Welcom to GWT StockTrade login page");
    lblWelcomToGwt.setStyleName("gwt-Label-Login");
    horizontalPanel.add(lblWelcomToGwt);

    Login login = new Login();
    horizontalPanel.add(login);
  }
}
TOP

Related Classes of net.helipilot50.stocktrade.client.GWTSpringStockTrade

TOP
Copyright © 2018 www.massapi.com. 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.