I'll second the book recommendation,
have the hacks sitting here on my desk and has been very useful so
far.

I've found that the easiest way for me to do UIs has been to write
helper functions that make the components and stitch them together
then return them inside hashmaps.

Then I write a bunch of other functions that add listeners (or that
return functions which add listeners) onto the different components
that I stored in hashmaps. I'm still a little bit wary of the
performance implications of doing it that way, but so far it has made
my UIs code a lot more intelligible (I think), than using a lot of
Java directly.

On Aug 4, 10:33 pm, Joe Van Dyk <[email protected]> wrote:
> Hey,
>
> New to Java and Clojure.  My possibly relevant experience is with Gtk
> and Ruby and C++ programming.
>
> I'd like to develop a GUI in Clojure.  I'm guessing I want to use
> Swing.  This application will be targeted towards scientists who are
> used to working with the most horribly-designed Tk UI known to man, so
> I'm sure they will be fine with Swing.
>
> So, where's the best place to start?
>
> What I've been doing:
>
> - Watched the peepcode
> - Working my way through Stuart's book
> - Playing with netbean's GUI designer
>
> Is it possible to use the netbean designer and clojure at the same
> time?  What's the best way of doing that?  I'm used to writing GUIs in
> C++, would Clojure have a drastically different approach (as far as
> application logic and event handling)?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to