public void addTitleComponent(JComponent comp) {
		titleComps.add(0, comp);
		iconPanel.removeAll();
		for (int i = 0; i < titleComps.size(); i++) {
			iconPanel.add(titleComps.get(i));
		}
	}
Adds a component to the right side of the title bar.
@param comp the component to add.
Ghidra/Framework/Docking/src/main/java/docking/widgets/TitledPanel.java