public static JFormattedTextField getDateField(OutputCommand output)
{
MaskFormatter mask = getMaskFormatter("##/##/####");
mask.setValueContainsLiteralCharacters(true);
mask.setPlaceholderCharacter('_');
DateVerifier verifier = new DateVerifier();
JFormattedTextField field = new JFormattedTextField(mask);
verifier.setOutput(output);
field.setInputVerifier(verifier);
return field;
}