reportFileChooser.setCurrentDirectory(new File(ApplicationContext.getUserPreferences().getUserSelectedDir()));
}
reportFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
reportFileChooser.setMultiSelectionEnabled(false);
reportFileChooser.setAcceptAllFileFilterUsed(false);
reportFileChooser.showSaveDialog(ApplicationContext.getCurrentFrame());
if (reportFileChooser.getSelectedFile() == null) {
return;
}
String fileName = reportFileChooser.getSelectedFile().getAbsolutePath();
reportService.saveReportData(reportForm, currentDataSource, fileName);