On Fri, Dec 23, 2011 at 3:08 PM, Antonio Recio wrote:
> When I click 2 times the button isoButton I get an error.
> (.addActionListener isoButton
> (proxy [ActionListener] []
> (actionPerformed []
Sorry, forgot the parameter here, add an "e". (actionPerfo
When I click 2 times the button isoButton I get an error.
(.addActionListener isoButton
(proxy [ActionListener] []
(actionPerformed []
(if (.isSelected isoButton)
(println "Button is selected")
On Fri, Dec 23, 2011 at 1:29 PM, Antonio Recio wrote:
> I am trying to add and to remove an object "isoActor" when I click the
> button "isoButton", but I get an error:
> Exception in thread "main" java.lang.IllegalArgumentException: Don't know
> how to create ISeq from: clojure.lang.Symbol
>
> Th
I am trying to add and to remove an object "isoActor" when I click the
button "isoButton", but I get an error:
Exception in thread "main" java.lang.IllegalArgumentException: Don't know
how to create ISeq from: clojure.lang.Symbol
The code:
(. isoButton addActionListener
(proxy [ActionListen