@Override
		public void uninstallUI(JComponent c) {

			HelpModel model = favorites.getModel();
			if (model != null) {
				model.removePropertyChangeListener(titleListener);
			}

			super.uninstallUI(c);
		}
This class allows us to change the renderer of the favorites tree.
Ghidra/Framework/Help/src/main/java/help/CustomFavoritesView.java