void setStates(String treeName, boolean nameChanged, boolean structureChanged) {

		treeNameLabel.setText(treeName);
		nameLabel.setText(nameChanged ? "Name Changed" : "Name Not Changed");
		nameLabel.setForeground(nameChanged ? CHANGED_COLOR : NO_CHANGE_COLOR);
		namePanel.remove(nameIconLabel);
		nameIconLabel = new GIconLabel(nameChanged ? CHANGED_ICON : NO_CHANGE_ICON);
		namePanel.add(nameIconLabel, 0);

		structureLabel.setText(structureChanged ? "Structure Changed" : "Structure Not Changed");
		structureLabel.setForeground(structureChanged ? CHANGED_COLOR : NO_CHANGE_COLOR);
		structurePanel.remove(structureIconLabel);
		structureIconLabel = new GIconLabel(structureChanged ? CHANGED_ICON : NO_CHANGE_ICON);
		structurePanel.add(structureIconLabel, 0);
	}
Panel to show whether tree name and tree structure changed.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/tree/TreeChangePanel.java