public void setDateFormat(DateFormat format) {
		this.dateFormat = format;

		// reformat the date in the display
		if (textField != null) {
			textField.setText(format(date));
		}
	}
Non-editable Editor for date and time; creates a text field for the string version of the date.
Ghidra/Framework/Docking/src/main/java/docking/options/editor/DateEditor.java