>
> I know that all Java GUI libraries can be used within the REPL, but it is
> my understanding that in order to make it self-contained and executable (a
> jar or a class file), it is necessary to write some Java and call the
> Clojure code from the java applet or application.  Is this true, or am I
> doing it wrong?
>
> I know a lot more about Common Lisp than I know about Java by the way, so I
> end up having to figure out Java stuff sometimes in order to do certain
> things in Clojure...
>

 Java's Swing is terrible and if possible, you should avoid it. If you have
to do an applet then you might not have a choice but if you can use Java Web
Start, go with Jambi.

Jambi is a binding for the much cleaner and friendly Qt toolkit. You can see
it in action (java web start so no installing required) here:
http://dist.trolltech.com/developer/download/webstart/index.html

You would also benefit from an awesome interface designer (which is *not* an
IDE so you can do your GUI in it and code with your favourite editor).

The drawback (beside not being able to do applets) is that there is a
different jar file you have to bundle for each platform (but they all have
the same api so it's really just a packaging concern). In the past, there
would also be a potential licensing problem (either GPL your code or pay up)
but the next release (next month) will be LGPLed so you can do a proprietary
app with it if you wish.

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