private void switchToProgram(Program program) {
		if (lastActiveProgram != null) {
			tabPanel.selectTab(lastActiveProgram);
		}
	}
Plugin to show a "tab" for each open program; the selected tab is the activated program.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/MultiTabPlugin.java