     sqls.ui.seesaw.conn-edit)
   (:import
     [clojure.lang Atom]
-    [javax.swing JFrame]))
+    [java.awt Point]
+    [java.awt.event MouseEvent]
+    [javax.swing JFrame JTable]))
 
 (defn build-connection-list-item
   "Convert one connection to UI item struct."

  "Conn list window UI implementation."
  (:require
    [clojure.pprint :refer [pprint]]
    seesaw.core
    [seesaw.bind :as b]
    seesaw.keymap

                             (enable-conn! [_ conn-name] (enable-conn! enabled-connections-atom conn-name))
                             (disable-conn! [_ conn-name] (disable-conn! enabled-connections-atom conn-name))
                             (set-conns! [_ conns] (set-conns! conn-list-table conns)))]
      (seesaw.core/listen conn-list-table :mouse-clicked (partial on-conn-list-table-mouse-clicked! conn-list-window (:create-worksheet handlers)))
      ;; We should not pass plugins here… instead UI should be dumb… we should probably have a handler
      ;; to get JDBC template for given params.
      (seesaw.core/listen btn-add :action (partial on-btn-add-click! drivers plugins (:save-conn handlers) (:test-conn handlers)))
