Globals.lang("This entry has no BibTeX key. Generate key now?"),
Globals.lang("Download file"), JOptionPane.OK_CANCEL_OPTION,
JOptionPane.QUESTION_MESSAGE);
if (answer == JOptionPane.OK_OPTION) {
ActionListener l = entryEditor.generateKeyAction;
l.actionPerformed(null);
bibtexKey = entryEditor.getEntry().getCiteKey();
}
}
DownloadExternalFile def = new DownloadExternalFile(frame,
frame.basePanel().metaData(), bibtexKey);