* @return the created password text field.
*/
public static JPasswordField createPasswordField()
{
JPasswordField pf = new JPasswordField();
pf.addFocusListener(new TextComponentFocusListener(pf));
pf.setFont(ColorAndFontConstants.defaultFont);
return pf;
}