void newProject() {
		ProjectWizardModel model = new ProjectWizardModel(tool);
		WizardDialog dialog = new WizardDialog(model);
		dialog.show(tool.getToolFrame());

		if (model.wasCancelled()) {
			return;
		}

		if (!closeProject(false)) { // false --> not exiting
			return; // user canceled
		}

		ProjectLocator projectLocator = model.getProjectLocator();
		RepositoryAdapter repository = model.getRepository();

		Project newProject = createProject(projectLocator, repository);
		if (newProject == null && repository != null) {
			repository.disconnect();
			return;
		}

		// make the new project the active one
		tool.setActiveProject(newProject);

		// update our list of recent projects
		plugin.rebuildRecentMenus();

		if (newProject != null) {
			openProjectAndNotify(newProject);
		}
	}
Create a new project using a wizard to get the project information.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.java