A JPasswordField gives the user the capability of entering text without the text being visible to onlookers.