* against the date of the crime.
*/
private Validator createStatuteValidator(final TextBox crimeCode) {
// Now, to show a custom validator. Using BuiltInValidator because we want
// to use the built-in error messages for Date conversion.
Validator statuteValidator = new BuiltInValidator() {
public void checkValid(Subject subject, ErrorHandler handler) {
String code = crimeCode.getText();
Date dateOfCrime = null;
try {
dateOfCrime = getDate(subject);