Hi, Am Donnerstag, 9. August 2012 14:10:55 UTC+2 schrieb Jim foo.bar: > > > > 1. First of all, my lein repl hangs each time I reload a namespace > that uses seesaw.core. Not when I first load it (load-file "blah...blah"), > but when I reload it after some changes...this is really a problem as I > need to kill/restart leiningen after every change in the code! This > completely defeats the purpose of dynamic compilation... > > Never had any problem here. At least not with seesaw. I don't know lein.
> > 1. Secondly, whenever I was designing UIs in clojure I quite liked the > ability to change the frame (e.g. resizing) dynamically from the repl > while > changes are immediately shown on screen...That saves a lot of time when > experimenting. Now, the 'frame' function of seesaw does not exactly return > a JFrame but a proxied version on to which, apparently, I cannot call > (.setSize f 500 500) directly...I am suspecting there must be some easy > way to get around that yes? > > (config! your-frame :size [x :by y]) Seems to work for me from the repl. (Maybe with some (invoke-later ...)?) Kind regards Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en