Hi,

since I found only questions about applets written in Clojure but not
really answers, I decided to write a small tutorial in the Clojure
wiki: 
http://en.wikibooks.org/wiki/Clojure_Programming/Examples/Creating_an_Applet
Applet demo: http://www.xenoage.com/extern/clojurebook/applet/cljapp.html

The good news: It works :-)
The bad news: It took me some time to find our why I got a
SecurityException although the applet was signed. By using type hints
(#^Graphics2D) I could solve the problem. Perhaps this is a JVM bug
(related to http://bugs.sun.com/view_bug.do?bug_id=6595618 or so?),
since I should have all rights when the applet is signed. As a
workaround, I guess, if reflection can be avoided there should be no
problems when using Clojure within applets.

Bye,


Andi

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