private Component buildInfoPanel(DataTypeManagerService service) {
		JPanel panel = new JPanel(new PairLayout(10, 4));
		panel.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));

		panel.add(new GLabel("Datatype: "));

		dataTypeEditor =
			new ParameterDataTypeCellEditor(this, service, model.getProgram().getDataTypeManager());

		dataTypeEditor.addCellEditorListener(new CellEditorListener() {

			@Override
			public void editingStopped(ChangeEvent e) {
				DataType dt = (DataType) dataTypeEditor.getCellEditorValue();
				setDataType(dt);
				maybeHandleTabNavigation();
			}

			@Override
			public void editingCanceled(ChangeEvent e) {
				maybeHandleTabNavigation();
			}
		});

		Component dataTypeEditComponent = dataTypeEditor.getTableCellEditorComponent(null,
			variableData.getFormalDataType(), false, 0, 0);

		DropDownSelectionTextField<DataType> textField = dataTypeEditor.getTextField();
		textField.addFocusListener(new FocusListener() {

			@Override
			public void focusLost(FocusEvent e) {
				if (!dataTypeEditor.stopCellEditing()) {
					Msg.showError(this, dataTypeEditComponent, "Invalid Datatype",
						"Previous datatype restored, invalid data type specified: " +
							textField.getText());
					dataTypeEditor.getEditor().setCellEditorValue(variableData.getFormalDataType());
					textField.requestFocus();
				}
			}

			@Override
			public void focusGained(FocusEvent e) {
				// ignore
			}
		});

		panel.add(dataTypeEditComponent);
		panel.add(new GLabel("Datatype Size: "));
		sizeLabel = new GDLabel(Integer.toString(size));
		sizeLabel.getAccessibleContext().setAccessibleName("Size");
		panel.add(sizeLabel);
		panel.add(new GLabel("Allocated Size:"));
		currentSizeLabel = new GDLabel("");
		currentSizeLabel.getAccessibleContext().setAccessibleName("Current Size");
		panel.add(currentSizeLabel);

		setFocusComponent(textField);
		panel.getAccessibleContext().setAccessibleName("Info");
		return panel;
	}
Read-only use constructor for Help screenshot
@param program the program
@param service the data type manager service
@param var function parameter to be displayed in editor dialog
@param ordinal parameter ordinal (-1 for return)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/StorageAddressEditorDialog.java