JButton extends javax.swing.AbstractButton , which already has a protected init method. If you rename your Clojure -init function, for example, my-init , the problem goes away:
(ns test.gui.button (:gen-class :extends javax.swing.JButton :constructors {[] [String]} :init my-init)) (defn -my-init [] [["Click Me"] nil])
source share