void showInViewedProject(URL ghidraURL, boolean isFolder) {

		ProjectDataTreePanel dtp = projectDataPanel.openView(GhidraURL.getProjectURL(ghidraURL));
		if (dtp == null) {
			return;
		}

		Swing.runLater(() -> {
			// delayed to ensure tree is displayed

			ProjectData viewedProjectData = dtp.getProjectData();

			String path = GhidraURL.getProjectPathname(ghidraURL);

			if (isFolder) {
				DomainFolder viewedProjectFolder = getViewProjectFolder(viewedProjectData, path);
				if (viewedProjectFolder != null) {
					dtp.selectDomainFolder(viewedProjectFolder);
				}
			}
			else {
				DomainFile viewedProjectFile = getViewProjectFile(viewedProjectData, path);
				if (viewedProjectFile != null) {
					dtp.selectDomainFile(viewedProjectFile);
				}
			}
		});
	}
builds the gui for the new front end
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndPlugin.java