private void initializeFields() {

		String name = getFieldName();
		nameField.setText(name);

		String comment = getComment();
		commentField.setText(comment);

		DataType dt = getComponentDataType();
		dataTypeEditor.setCellEditorValue(dt);

		if (addAddress) {
			addressCheckBox.setSelected(true);
			addTextToComment(getCurrentAddressString());
		}
		if (addDate) {
			dateCheckBox.setSelected(true);
			addTextToComment(getTodaysDate());
		}
	}
Sets the pending new datatype and updates the datatype text field to the name of that
datatype.
@param dataType the new pending datatype
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/EditDataFieldDialog.java