useful functions for interfacing Clojure to Swing (forked from clojure-contrib)