5.15. Creating Password Fields

Sometimes you may want to create fields that
allow text to be entered, but that hide that text from onlookers. A
password entry field is a typical example. Because it would not be
secure to display the text that is entered for all to see, a specific
character is displayed to mask that text as it is being entered.