if (dataSet != null) {
// Create the chooser if necessary.
if (exportChooser == null) {
exportChooser = new LoadSaveFileChooser(
"Select Chromatogram File");
exportChooser
.addChoosableFileFilter(new FileNameExtensionFilter(
"Comma-separated values files", CSV_EXTENSION));
}