I write a swing wrapper for fun.

http://gist.github.com/465370

It work well. (eg. http://gist.github.com/465323,
http://java.sun.com/docs/books/tutorial/uiswing/components/button.html
ButtonDemo example)

But there is a small problem troubling me.

I must import the Event Listener where I use my "make-listener" or
"add-listener" function. (because they are dynamically using the
imported java class Symbol)

I'm finding a way to just import all the java classes, so that I don't
need to always add the redundant import code~

PS: I try to used a big map to map all keyword to full java classes.
There're 39 classes, the hard-code is too stupid, so I give up.

Some ideas?

Thx :-)

-- 
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