r/Clojure • u/nimportfolio • Jun 07 '25
Announcement: Clojure Desktop Toolkit
There's a new way to build graphical interfaces using Clojure:
- Clojure Desktop Toolkit - A complete cross-platform desktop user interface toolkit with native platform widgets based on Eclipse SWT, plus an up-to-date Maven repository with all the latest SWT releases.
- Full coverage of the latest SWT API.
- It's written in itself; you can extend it the same way it's written.
- Developer tutorial / documentation.
- The goal is to be batteries included! Please let me know how close I've gotten so far!
This is really new, but the basics are well exercised. See the README for details. I welcome feedback and suggestions!
125
Upvotes
View all comments
Show parent comment
2
u/nimportfolio Jun 09 '25
SWT is packaged as multiple implementations of the exact same classes, linked to different platform natives. Correct me if I'm wrong, but I believe that including all of these creates a situation where the last version of the a SWT class added to the uberjar wins, making the exact platform native library that will be linked in the uberjar random?
Thanks for the suggestion. If this would work, I agree it would be nicer.