           (.setForeground selected-foreground)
           (.setBackground selected-background)))
       (if (instance? JLabel component)
-        (.setHorizontalAlignment component SwingConstants/CENTER))
+        (.setHorizontalAlignment ^JLabel component SwingConstants/CENTER))
       component)))
             
 

  (assert (instance? context-editor-widget widget))
  (let [table (get-table widget),
        view  (get-row-index-permutator table),
        sel   (seq (.getSelectedRows (get-control table))),
        ectx  (get-ectx widget),
        names (deref (:obj-rows ectx)),
        fltr  #(filter (fn [x]

        conexp.contrib.gui.editors.context-editor.table-control
        conexp.contrib.gui.editors.context-editor.editable-contexts)
  (:import [java.awt Color Font]
           [javax.swing JLabel SwingConstants JTable JComponent]))


;;; Context editor control
