@Override
			public void keyPressed(KeyEvent e) {
				switch (e.getKeyCode()) {
					case KeyEvent.VK_LEFT:
						updateActiveIndex(getPreviousIndex(), -1);
						e.consume();
						break;
					case KeyEvent.VK_RIGHT:
						updateActiveIndex(getNextIndex(), -1);
						e.consume();
						break;
				}
			}
Create the components for this panel.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/references/InstructionPanel.java