fc.setFileFilter(new ExtensionFileFilter("pdf", "pdf"));
fc.setSelectedFile(new File(filename));
int returnVal = fc.showSaveDialog(this.frmAnalysis);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
ClasicReportBuilder builder = new ClasicReportBuilder();
builder.build(this.analysis, this.reportModel.getCurrentReport(), this.resultsModel.getCurrentResults(), file);
JOptionPane.showOptionDialog(this.frmAnalysis,
DialogsMessages.REPORT_GENERATED,
DialogsMessages.DIALOG_BOX_TITLE,
JOptionPane.CLOSED_OPTION,
JOptionPane.INFORMATION_MESSAGE, null, null, null);