Ejemplo n.º 1
1
  private void createControls() {
    lblName = new Label(this, "lblName");

    lblDescription = new Label(this, "lblDescription");

    lblDate = new Label(this, "lblDate");

    lblOwner = new Label(this, "lblOwner");

    ibName = new InputBox(this, "ibName");
    ibName.setWidth(340);

    ibDescription = new InputBox(this, "ibDescription");
    ibDescription.setEmptyInfoText("Enter a description of this list profile");
    ibDescription.setMultiLine(true);
    ibDescription.setWidth(340);
    ibDescription.setHeight(50);

    rbtnYes = new RadioButton(this, "rbtnYes");
    rbtnYes.setTitle("Yes");

    rbtnNo = new RadioButton(this, "rbtnNo", rbtnYes);
    rbtnNo.setTitle("No");

    updateFieldsValues();
  }