@Override
		public Action getAddAction() {

			//
			// Switching themes triggers a UI update.  Internally, the Java Help API is not 
			// correctly updating listeners, which results in that API having a reference to an old
			// UI.  Using our own custom action to retrieve the currently active action prevents 
			// this issue, since we are always getting the active target for actionPerformed().
			//
			return new AbstractAction() {
				@Override
				public void actionPerformed(ActionEvent e) {
					Action currentAction = superGetAddAction();
					currentAction.actionPerformed(e);
				}
			};
		}
This class allows us to change the renderer of the favorites tree.
Ghidra/Framework/Help/src/main/java/help/CustomFavoritesView.java