boolean isTabClick(MouseEvent event) {
		Component component = event.getComponent();
		int tabCount = tabbedPane.getTabCount();
		for (int i = 0; i < tabCount; i++) {
			DockingTabRenderer renderer = (DockingTabRenderer) tabbedPane.getTabComponentAt(i);
			if (SwingUtilities.isDescendingFrom(component, renderer)) {
				return true;
			}
		}
		return false;
	}
Add a view component to the tabbed pane and make this view active; set
other views to be inactive.

@param vp view provider
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ViewPanel.java