private void initUI() {

		label = new PanAndZoomComponent(new EmptyIcon(16, 16), SwingConstants.CENTER);
		imagePanel = new JPanel(new BorderLayout());

		imagePanel.add(label, BorderLayout.CENTER);

		imageScroller =
			new JScrollPane(imagePanel, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
				ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);

		setLayout(new BorderLayout());
		add(imageScroller, BorderLayout.CENTER);
	}
Create an NavigableImagePanel with the specified image
@param image the image
Ghidra/Framework/Docking/src/main/java/docking/widgets/imagepanel/ImagePanel.java