this.project = project; this.callback = callback; initComponents(); analysisThread.start(); if (joinThread) try {analysisThread.join();} catch (InterruptedException e) {}
this(project, new AnalysisCallback() { public void analysisFinished(BugSet results) { ProjectSettings.newInstance(); ((BugTreeModel)MainFrame.getInstance().getTree().getModel()).getOffListenerList(); MainFrame.getInstance().getTree().setModel(new BugTreeModel(MainFrame.getInstance().getTree(), MainFrame.getInstance().getSorter(), results)); MainFrame.getInstance().setProject(project); }  public void analysisInterrupted() {} }, false);
	public AnalyzingDialog(@NonNull Project project, AnalysisCallback callback, boolean joinThread)	{		this.project = project;		this.callback = callback;		initComponents();		analysisThread.start();		if (joinThread)			try {analysisThread.join();} catch (InterruptedException e) {}	}