private void linkScrollPanes(JScrollPane panel1, JScrollPane panel2) {
		BoundedRangeModel model = panel1.getVerticalScrollBar().getModel();
		panel2.getVerticalScrollBar().setModel(model);
	}
Provides a link between the two given panels such that when one is
scrolled (vertically) the other is scrolled accordingly.

@param panel1 left panel
@param panel2 right panel
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InstructionSearchMainPanel.java