The PasswordFormInput class represents a password input field type in an HTML form.
The following code example shows you how to create a new PasswordFormInput object:
PasswordFormInput pwd = new PasswordFormInput("password"); pwd.setSize(12); System.out.println(pwd.getTag());
The code example above generates the following tag:
<input type="password" name="password" size="12" />