I'm trying to extend JPanel using gen-class, and I can't find a way to
implement a constructor so I can add a KeyListener to it. From what I
can tell, :init is only for setting up the :state reference for the
class, and calling super's contructors. I tried having it have "this"
as a parameter, but I get get an IllegalArgumentException. How can I
add my KeyListener?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to