code: public void addPassword(String tag,
                              String label,
                              int length)
      {
          Input i = new Input(Input.Password,tag);
          i.setSize(length);
          addField(label,i);
      }
docs: Add a password field.
  @param tag The form name of the element
  @param label The label for the element in the table.