// Copies non-local file in a temporary local file and opens them using their native association.
else {
ProgressDialog progressDialog = new ProgressDialog(mainFrame, Translator.get("copy_dialog.copying"));
TempExecJob job = new TempExecJob(progressDialog, mainFrame, item);
progressDialog.start(job);
}
}
public static void addFile(AbstractFile file) {
if (!list.remove(file) && list.size() > MAX_NUM_OF_ELEMENTS)