2014-05-04 10:09 GMT+02:00 Colin Fleming <colin.mailingl...@gmail.com>:
> There's really no "only" way to do anything in Clojure, since you can > always drop down to Java interop. So anything that's available to Java is > available to Clojure, too. Not all the options have a nice Seesaw-like > wrapper over it of course, but they're generally still quite usable. I do a > reasonable amount of Swing work without Seesaw, mostly because it takes a > while to start up, but Seesaw has a lovely API if that's not such an issue > for you. Swing is generally a fine option, if you look at IntelliJ you'll > see it's possible to make it quite pretty and functional, although it's a > lot of work to get to that stage. > > Other options are QTJambi or SWT - I don't know anything about Pivot and > the demos didn't work for me either in Firefox or Safari but it looks like > that might be an option too. JavaFX may also be an option, although I don't > know much about it. Or you can go for more esoteric options like embedding > Chromium in a native app wrapper and use ClojureScript, which is what > LightTable and other projects do. > > It really depends on your requirements, but the above are all viable > options. > Well, I am a newbie with GUI, so best to start with seesaw if there is no real reason not to use Swing I think then. (I do not remember why Swing was discouraged.) I have to look into the start-up time. I did not know about that. By the way: as I understood it JavaFX is only an option if you only develop for Windows. > On 4 May 2014 19:33, Cecil Westerhof <cldwester...@gmail.com> wrote: > >> I am mostly a back-end writer. I dabbled a little with Scala before going >> to Clojure. (And more on the back-end as on the front-end.) But there was a >> discussion (I do not remember if it was on a Java or Scala newsgroup) that >> Swing was not the right interface for writing GUI's. I settled for QTJambi, >> but I was told I should look at Apache Pivot. >> >> If I understand it correctly the ‘only’ way to do GUI in Clojure is with >> Swing through the seesaw library. Am I correct that this is the ‘only’ way? >> If so, there is no problem using Swing? >> >> Again, I do not have much experience with writing GUI's. But the example >> I saw with seesaw was inviting. >> > -- Cecil Westerhof -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.