null, null));
}
Iterator<AnalysisController> itClose = this.analysisList.iterator();
Vector<AnalysisController> toRemove = new Vector<AnalysisController>();
while (itClose.hasNext()) {
AnalysisController currentController = itClose.next();
this.mainForm.getjTabPnlMain().setSelectedComponent(currentController.getFrmAnalysis());
if (!this.closeAnalysisOnExit(currentController)) {
this.analysisList.removeAll(toRemove);
return false;
}
int closeTabNumber = this.mainForm.getjTabPnlMain().indexOfComponent(currentController.getFrmAnalysis());
if (closeTabNumber != -1) {
this.mainForm.getjTabPnlMain().removeTabAt(closeTabNumber);
toRemove.add(currentController);
}
}