}
renameCheckBox.setText(Globals.lang("Rename file to") + ": ");
renameToTextBox.setText(citeKey == null ? "default" : citeKey + "." + fileType.extension);
linkInPlace.addChangeListener(cl);
cl.stateChanged(new ChangeEvent(linkInPlace));
try {
Object[] messages = {"How would you like to link to " + linkFileName + "?", optionsPanel};
return JOptionPane.showConfirmDialog(frame, messages, dialogTitle,
JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE);