public void stateChanged(ChangeEvent e) {
if (searchWorker != null && !searchWorker.isDone()) {
searchWorker.cancel(true);
}
searchWorker = new SearchWorker(library.getData(), searchField.getText(), true) {
@Override
protected void done() {
try {
Playlist result = get();
if (result != null) {