private DomainFolder getViewProjectFolder(ProjectData viewedProjectData, String path) {
		if (path == null || path.equals(DomainFolder.SEPARATOR)) {
			return viewedProjectData.getRootFolder();
		}
		if (path.endsWith(DomainFolder.SEPARATOR)) {
			path = path.substring(0, path.length() - 1); // remove trailing separator
		}
		return viewedProjectData.getFolder(path);
	}
builds the gui for the new front end
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndPlugin.java