@Override
			public void mouseReleased(MouseEvent e) {
				if (e.getButton() == MouseEvent.BUTTON3) {
					// hack to make sure that a right-clicked component becomes the active
					// component
					panel.setCurrentView(ByteViewerComponent.this);
				}
			}
Set up colors and mouse listener.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java