Contract.asNotNull(formats, "the array of formats " + "must not contain null elements");
}
DateFormat[] old = getFormats();
_dateField.setFormatterFactory(new DefaultFormatterFactory(
new DatePickerFormatter(formats, getLocale())));
firePropertyChange("formats", old, getFormats());
}