            [java.awt.event MouseAdapter]
            [javax.swing.table AbstractTableModel]
            [java.awt Color Dimension])
-  (:use [org.micromanager.mm :only [load-mm gui core edt get-config]]))
+  (:use [org.micromanager.mm :only [config-struct load-mm
+                                    gui core edt get-config]]))
 
 (load-mm)
 


(defn preset-names-table-model []
  (proxy [AbstractTableModel] []
    (getColumnName [_] "")
    (getColumnCount [] 1)
    (getRowCount [] (count (keys @group-data)))
    (isCellEditable [_ _] true)

       (map #(.setPreferredWidth % 125)) dorun))

(defn activate-groups-table [components]
  (let [groups-table (components :groups-table)]
    (attach-selection-listener
      groups-table
      (fn [_] (redraw-data)))))

;; test/run

