Indicates whether the edit control is being used for password input and must conceal its value.
public boolean getPassword()
Password edit boxes behave like single line edit boxes. However, their contents are masked by the asterisk (*) and are not displayed at run time.
See Also setPassword