Skip to content
This repository

A wrapper for Swing aiming to provide more concise syntax and extra functionality. Still in heavy development, syntax may change radically.

branch: master
README.md

THIS LIBRARY IS NO LONGER ACTIVELY MAINTAINED

Feel free to learn from it, cannibalise its code for your own projects, and I suggest that you use the MUCH BETTER seesaw library instead.

Clojure GUI library, based on Swing. See the project wiki for details on how to use it. You can also watch a 30 minute presentation on the library.

If you are using leiningen, add the following dependency to your project.clj:

   [clarity "0.5.6"]

If you are using Clojure 1.2.x, make sure that your project.clj includes clojure-contrib:

   [clarity "0.5.6"]
   [org.clojure/clojure-contrib "1.2.0"]

Example of the form facilities:

    (show-dialog
     (form [:header "The form"]
           [:text "Please fill in the **entire** form." :rich]
           :first-name ""
           :surname ""
           :gender ["male" "female" "other"])
     ["OK" "Cancel"])
Something went wrong with that request. Please try again.