public char[] getPasswordValue(String fieldLabel) {
		Component c = this.fieldMap.get(fieldLabel);
		if (!(c instanceof JPasswordField)) {
			return null;
		}

		return ((JPasswordField) c).getPassword();
	}
public char [ ] getPasswordValue ( String fieldLabel ) { Component c = this . fieldMap . get ( fieldLabel ) ; if ( ! ( c instanceof JPasswordField ) ) { return null ; } return ( ( JPasswordField ) c ) . getPassword ( ) ; }
Gets the contents of a {@link JPasswordField} field.
<p>
For stronger security, it is recommended that the returned character array be cleared after use by setting each character
to zero.

@param fieldLabel the label of the field
@return the contents of the field, {@code null} if not a {@code JPassword} field.
@since 2.6.0
@see #setFieldValue(String, String)
@see #addPasswordField(String, String)