|
|
@ -89,7 +89,7 @@ public class ChoosePane extends BasicBeanPane<DataBaseItems> implements Refresha |
|
|
|
|
|
|
|
|
|
|
|
private SwingWorker populateWorker; |
|
|
|
private SwingWorker populateWorker; |
|
|
|
|
|
|
|
|
|
|
|
private ExecutorService service = Executors.newSingleThreadExecutor(new NamedThreadFactory("ChoosePaneThread")); |
|
|
|
private static final ExecutorService SERVICE = Executors.newSingleThreadExecutor(new NamedThreadFactory("ChoosePaneThread")); |
|
|
|
|
|
|
|
|
|
|
|
private PopupMenuListener popupMenuListener = new PopupMenuListener() { |
|
|
|
private PopupMenuListener popupMenuListener = new PopupMenuListener() { |
|
|
|
|
|
|
|
|
|
|
@ -102,7 +102,7 @@ public class ChoosePane extends BasicBeanPane<DataBaseItems> implements Refresha |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
service.submit(task); |
|
|
|
SERVICE.submit(task); |
|
|
|
tableNameComboBox.setPreSearchTask(task); |
|
|
|
tableNameComboBox.setPreSearchTask(task); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|