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