public static JTextField getDateField(String format) {
        JTextField field = new JTextField();
        field.setEditable(false);
        timePicker(field);
        return field;
    }
public static JTextField getDateField ( String format ) { JTextField field = new JTextField ( ) ; field . setEditable ( false ) ; timePicker ( field ) ; return field ; }
Get time field with format

@param format
time format
@return text field with format