code: public static JTextField getDateField(String format) {
          JTextField field = new JTextField();
          field.setEditable(false);
          timePicker(field);
          return field;
      }
docs: Get time field with format
  
  @param format
  time format
  @return text field with format