MainFrame.this.setRebuilding(true); Project project = new Project(); BugSet bs=BugLoader.loadBugs(project, extraFinalReferenceToXmlFile); MainFrame.this.setRebuilding(false); if (bs!=null) { ProjectSettings.newInstance(); model.getOffListenerList(); updateDesignation(); model.changeSet(bs); curProject=project; MainFrame.this.updateStatusBar(); MainFrame.this.setTitle(project.getProjectFileName()); } }
MainFrame.this.setRebuilding(true); Project project = new Project(); BugSet bs=BugLoader.loadBugs(project, in); MainFrame.this.setRebuilding(false); if (bs!=null) { ProjectSettings.newInstance(); model.getOffListenerList(); updateDesignation(); model.changeSet(bs); curProject=project; MainFrame.this.updateStatusBar(); MainFrame.this.setTitle(project.getProjectFileName()); setCursor(new Cursor(Cursor.DEFAULT_CURSOR)); setProjectChanged(false); } }
					public void run()					{						BugTreeModel model=(BugTreeModel)tree.getModel();//								BugTreeModel.pleaseWait();						MainFrame.this.setRebuilding(true);						Project project = new Project();						BugSet bs=BugLoader.loadBugs(project, extraFinalReferenceToXmlFile);						MainFrame.this.setRebuilding(false);						if (bs!=null)						{							ProjectSettings.newInstance();							model.getOffListenerList();							updateDesignation();							model.changeSet(bs);							curProject=project;							MainFrame.this.updateStatusBar();							MainFrame.this.setTitle(project.getProjectFileName());						}					}