When I click 2 times the button isoButton I get an error. (.addActionListener isoButton (proxy [ActionListener] [] (actionPerformed [] (if (.isSelected isoButton) (println "Button is selected") (println "Button is not selected")))))
Error: Exception in thread "AWT-EventQueue-0" clojure.lang.ArityException: Wrong number of args (2) passed to: user$eval39$fn -- 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