When I try to use JColorChooser in Clojure I get the followinf error:
Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException: No matching method found:
showDialog for class javax.swing.JColorChooser
Shouldn't showDioalog be there? What and I doing wrong. Here's the
code:
(defn newColor [parent]
(proxy [ActionListener] []
(actionPerformed [evt]
(def colorChooser (new JColorChooser))
(doto colorChooser
(.showDialog parent "Choose Color" bisque))
....
)))
Bill
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.