code: public static void datePicker(JTextField field, String format,
              DateFilter filter) {
          new DatePicker(field, format, filter);
      }
docs: Add a date picker to a text field with date format
  
  @param field
  the text field you want to add to
  @param format
  date format string
  @param filter
  filter