@AutoGenerated
  private HorizontalLayout buildConfirmDiv() {
    // common part: create layout
    confirmDiv = new HorizontalLayout();
    confirmDiv.setImmediate(false);
    confirmDiv.setWidth("100.0%");
    confirmDiv.setHeight("100.0%");
    confirmDiv.setMargin(false);

    // confirmLabel
    confirmLabel = new Label();
    confirmLabel.setImmediate(false);
    confirmLabel.setWidth("52px");
    confirmLabel.setHeight("-1px");
    confirmLabel.setValue("Confirm:");
    confirmDiv.addComponent(confirmLabel);
    confirmDiv.setComponentAlignment(confirmLabel, new Alignment(9));

    // passwordConfirm
    passwordConfirm = new PasswordField();
    passwordConfirm.setCaption("Need confirm password:"******"195px");
    passwordConfirm.setHeight("20px");
    passwordConfirm.setRequired(true);
    confirmDiv.addComponent(passwordConfirm);
    confirmDiv.setExpandRatio(passwordConfirm, 1.0f);
    confirmDiv.setComponentAlignment(passwordConfirm, new Alignment(34));

    return confirmDiv;
  }
  @AutoGenerated
  private HorizontalLayout buildPasswordDiv() {
    // common part: create layout
    passwordDiv = new HorizontalLayout();
    passwordDiv.setImmediate(false);
    passwordDiv.setDescription("Your password");
    passwordDiv.setWidth("291px");
    passwordDiv.setHeight("34px");
    passwordDiv.setMargin(false);

    // passwordLabel
    passwordLabel = new Label();
    passwordLabel.setImmediate(false);
    passwordLabel.setWidth("80px");
    passwordLabel.setHeight("20px");
    passwordLabel.setValue("Password:"******"Need Password");
    passwordField.setImmediate(false);
    passwordField.setWidth("197px");
    passwordField.setHeight("20px");
    passwordField.setRequired(true);
    passwordDiv.addComponent(passwordField);
    passwordDiv.setComponentAlignment(passwordField, new Alignment(34));

    return passwordDiv;
  }