Package com.poker.client

Source Code of com.poker.client.LoginPanel

package com.poker.client;

import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class LoginPanel extends PopupPanel {
  private VerticalPanel loginPanel = new VerticalPanel();
  private Label loginLabel = new Label("Please login with your Facebook ID");
  public LoginPanel(){   
        loginPanel.add(loginLabel);
        final Button loginButton = new Button("Login");
          loginButton.setPixelSize(100, 35);
          loginButton.setStylePrimaryName("button");
          loginPanel.add(loginButton);
       this.setGlassEnabled(true);
       this.setAnimationEnabled(true);
       this.setWidget(loginPanel);
  }
}
TOP

Related Classes of com.poker.client.LoginPanel

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.