} else {
setStatus(messageWriter.print1args("fileLoadFailed", f.getName()));
}
// Ask for replacing empty data sources with correspongin data
if (EmptyDataSourcePool.global.emptyDataSourcesCanBeReplaced() && (JSynoptic.gui != null)) {
int answer = JOptionPane.showConfirmDialog(owner, new ReportingDialog(messageWriter.print1args(
"replaceDataSourcesText", f.getName()), EmptyDataSourcePool.global.getDataSourcesToReplaceTitles(),
EmptyDataSourcePool.global.getDataSourcesToReplace()), messageWriter
.print0args("replaceDataSources"), JOptionPane.YES_NO_OPTION);
if (answer == JOptionPane.YES_OPTION) {
EmptyDataSourcePool.global.replaceAllDataSources();