possibleBirthday.setYear(possibleBirthday.getYear() - 25);
dateBox.setValue(possibleBirthday);
usernameTextBox.setVisibleLength(30);
passwordTextBox.setVisibleLength(30);
passwordTextBox.addFocusHandler(new FocusHandler() {
public void onFocus(FocusEvent event) {
passwordTextBox.selectAll();
}
});
passwordConfirm.setVisibleLength(20);
passwordConfirm.addFocusHandler(new FocusHandler() {
public void onFocus(FocusEvent event) {
passwordConfirm.selectAll();
}
});