private JPanel createDataTypePanel(JRadioButton rb) {
		JPanel panel = new JPanel(new BorderLayout());
		Structure s = new StructureDataType("Test", 0);
		s.add(new ByteDataType());
		s.add(new WordDataType());
		s.add(new QWordDataType());

		DataTypePanel dtPanel = new DataTypePanel(s);
		JScrollPane sp = new JScrollPane(dtPanel);
		sp.getViewport().setPreferredSize(new Dimension(300, 400));

		panel.add(sp);
		panel.add(rb, BorderLayout.SOUTH);
		if (rb == latestRB) {
			latestPanel = dtPanel;
		}
		else if (rb == myRB) {
			myPanel = dtPanel;
		}
		else {
			origPanel = dtPanel;
		}
		return panel;
	}
Panel to select a data type in order to resolve a conflict.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/datatypes/DataTypeMergePanel.java