public void actionPerformed(ActionEvent actionEvent) {
updatePreview(toShow, changedPreview, 1);
}
});
t.setRepeats(false);
t.start();
return;
}
EventList<BibtexEntry> list = table.getSelected();
// Check if the entry to preview is still selected:
if ((list.size() != 1) || (list.get(0) != toShow)) {