public void setScrollbarSideKickComponent(JComponent component) {
		scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
		if (component == null) {
			scrollPane.setVerticalScrollBar(new JScrollBar());
		}
		else {
			scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
			scrollPane.setVerticalScrollBar(
				new SideKickVerticalScrollbar(component, scrollPane.getViewport()));
		}
	}
Sets this scroll pane to never show scroll bars. This is useful when you want a container
whose view is always as big as the component in this scroll pane.
@param b true to never scroll
Ghidra/Framework/Docking/src/main/java/docking/widgets/indexedscrollpane/IndexedScrollPane.java