//nom du clan a rechercher
final TextBox nameClan = new TextBox();
rootPanel.add(nameClan, 300, posTop);
nameClan.setText("NOVA SNAIL");
nameClan.setSize("125px", "18px");
nameClan.addFocusHandler(new FocusHandler() {
@Override
public void onFocus(FocusEvent event) {
// TODO Auto-generated method stub
offsetClan = 0;
limitClan = 100;
}
});
// Focus the name clan
nameClan.setFocus(true);
//bouton login for admin functions
final Button loginAdminButton = new Button("Admin login");
rootPanel.add(loginAdminButton, 700, posTop);
loginAdminButton.setSize("125px", "28px");
loginAdminButton.setEnabled(true);
//nom du login
final TextBox nameLogin = new TextBox();
rootPanel.add(nameLogin, 850, posTop);
nameLogin.setText("t..");
nameLogin.setSize("125px", "18px");
nameLogin.addFocusHandler(new FocusHandler() {
@Override
public void onFocus(FocusEvent event) {
// TODO Auto-generated method stub
passSaving = 0;