Clojure GUI Programming

112 views
Skip to first unread message

Rohit Patnaik

unread,
Apr 5, 2012, 10:05:20 PM4/5/12
to cloj...@googlegroups.com
Hello everyone,

Do any of you know of any interface layers that would help me use Swing with Clojure? I'm learning Clojure and I think that the functional model of computation is well suited to event driven systems, such as GUIs. Unfortunately, Swing, as it stands, isn't very usable with Clojure because of the way it requires you create classes in order to implement event handlers. So, do any of you know of any tools or resources that would help me create a Swing GUI with Clojure? Or, in case I'm on a fool's errand, what would be a good way of creating a GUI with Clojure? I only chose Swing because it's the default option for creating a GUI on the JVM.

Thanks in advance,
Rohit Patnaik

Ted Naleid

unread,
Apr 5, 2012, 10:08:33 PM4/5/12
to cloj...@googlegroups.com
I didn't go to it, but Dave Ray gave a presentation at Clojure West on "Building User Interfaces with Seesaw".  Seesaw is his clojure/swing library, and I heard a few people saying positive things about it after the talk.


-Ted

Rohit Patnaik

unread,
Apr 6, 2012, 11:03:40 AM4/6/12
to cloj...@googlegroups.com
Hello Ted,

Thanks for the link to seesaw. I haven't looked at it yet, but it certainly seems to be more promising than my clumsy attempts to manipulate Swing objects directly from Clojure.

Thanks,
Rohit Patnaik
Reply all
Reply to author
Forward
0 new messages