private void initialize() {
		createFields();

		setCursorOn(true);
		editColor = ByteViewerComponentProvider.CHANGED_VALUE_COLOR;
		currentCursorColor = ByteViewerComponentProvider.CURSOR_ACTIVE_COLOR;
		setNonFocusCursorColor(ByteViewerComponentProvider.CURSOR_NOT_FOCUSED_COLOR);
		setFocusedCursorColor(currentCursorColor);

		updateColorRunner = () -> updateColor();

		addMouseListener(new MouseAdapter() {
			@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);
				}
			}
		});

		enableHelp();
	}
Set up colors and mouse listener.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java