private void create() {
		JPanel panel = new JPanel(new BorderLayout(0, 5));
		panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));

		treeNameLabel = new GDLabel("Tree Name");
		Gui.registerFont(treeNameLabel, Font.BOLD);

		nameLabel = new GDLabel("Name Changed");
		nameIconLabel = new GIconLabel(CHANGED_ICON);

		structureLabel = new GDLabel("Structure Changed");
		structureIconLabel = new GIconLabel(CHANGED_ICON);

		namePanel = new JPanel(new PairLayout(0, 5));
		namePanel.add(nameIconLabel);
		namePanel.add(nameLabel);

		structurePanel = new JPanel(new PairLayout(0, 5));
		structurePanel.add(structureIconLabel);
		structurePanel.add(structureLabel);

		JPanel labelPanel = new JPanel();
		labelPanel.setLayout(new BoxLayout(labelPanel, BoxLayout.Y_AXIS));
		labelPanel.add(namePanel);
		labelPanel.add(structurePanel);

		panel.add(treeNameLabel, BorderLayout.NORTH);
		panel.add(labelPanel, BorderLayout.CENTER);
		add(panel);
	}
Panel to show whether tree name and tree structure changed.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/tree/TreeChangePanel.java