if (answer == JOptionPane.OK_OPTION) {
generateKeySelectedEntry();
bibtexKey = entry.getCiteKey();
}
}
DownloadExternalFile def = new DownloadExternalFile(frame, metaData, bibtexKey);
try {
def.download(this);
} catch (IOException ex) {
ex.printStackTrace();
}
}