private void addMouseAndFocusListeners(Side side) {
		JComponent comp = getComparisonComponent(side);
		comp.addFocusListener(new FocusAdapter() {
			@Override
			public void focusGained(FocusEvent e) {
				setActiveSide(side);
				updateContextForFocusGained(e.getComponent());
			}
		});

		comp = getComparisonComponent(side);

		MouseAdapter mouseListener = new MouseAdapter() {
			@Override
			public void mousePressed(MouseEvent e) {
				setActiveSide(side);
			}
		};

		addMouseListenerRecursively(comp, mouseListener);
	}
Notification to subclasses that the comparison data has changed
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/panel/CodeComparisonPanel.java