Re: JavaFX and Clojure

2012-12-17 Thread Stathis Sideris
Have you considered using the doto macro in order to avoid having to repeat the component as the first argument of all the setters? (let [btn (Button.)] (.setLayoutX btn 100) (.setLayoutY btn 150) (.setText btn "Hello World!")) becomes: (doto (Button.) (.setLayoutX 100) (.setLayoutY 1

Re: JavaFX and Clojure

2012-12-16 Thread Christian Sperandio
I did some changes. First and foremost, I change the project's name to a more formal one: it has became clj-javafx and the link is now https://github.com/chrix75/clj-javafx I cleaned the code too, thus: - I remove the ugly Thread/sleep for promise and deliver - make the code cleaner L

Re: JavaFX and Clojure

2012-12-15 Thread Christian Sperandio
I had a test to show how it work. Le samedi 15 décembre 2012 22:10:50 UTC+1, Christian Sperandio a écrit : > > Hi, > > After some studies about JavaFX with Clojure, and bricks broke with my > head, I wrote a sort of wrapper to work more easily with both. > It's here : https://github.com/chrix75/

JavaFX and Clojure

2012-12-15 Thread Christian Sperandio
Hi, After some studies about JavaFX with Clojure, and bricks broke with my head, I wrote a sort of wrapper to work more easily with both. It's here : https://github.com/chrix75/javafx-clj You can play with JavaFX in your REPL and you have the macro with-javax and wit-javafx-let that let you wri

Re: JavaFX and Clojure

2010-08-28 Thread Mark Engelberg
On Fri, Aug 27, 2010 at 11:00 AM, Emeka wrote: > Mark, > Can JavaFX do that? > Regards, > Emeka I don't know that much about JavaFX, but my understanding is that it was born out of Sun's desire to compete with Adobe's Flash/Flex/AIR. Similarly, Silverlight is Microsoft's effort to compete in that

Re: JavaFX and Clojure

2010-08-27 Thread Emeka
Mark, Can JavaFX do that? Regards, Emeka On Mon, Aug 23, 2010 at 7:12 PM, Mark Engelberg wrote: > > Rather than > > creating the JavaFX language they would have done so much more for the > > community to just focus on this scenegraph library, animation, etc... > > I agree. I'm not interested i

Re: JavaFX and Clojure

2010-08-23 Thread Mark Engelberg
> Rather than > creating the JavaFX language they would have done so much more for the > community to just focus on this scenegraph library, animation, etc... I agree. I'm not interested in the JavaFX language, but am interested in doing Flash-like user interfaces and animations from Clojure. --

Re: Another JavaFX and Clojure Demo

2010-08-23 Thread joshua-choi
This is fascinating—I too am interested in Clojure-JavaFX interaction. Thanks a lot for putting this up! On Aug 21, 8:43 pm, Sam Griffith wrote: > Hello group, > > I'd replied a long time ago to one of the posts about JavaFX and > Clojure working together... I've now

Re: JavaFX and Clojure

2010-08-23 Thread Jeff Rose
I started using the scenario scenegraph library from JavaFX to create GUI elements in project Overtone, but it seems development has stopped on the project (at least in the public repository) and we are weary of becoming dependent on a dead or closed source library. It's really too bad, because th

Re: Another JavaFX and Clojure Demo

2010-08-23 Thread polypus74
hi sam, thanks for the demo. looks like there's mounting interest in javafx and clojure. good to know. see this thread: http://groups.google.com/group/clojure/browse_thread/thread/35aabe2fa9302aff# i'm hard at work and should release shortly. _c On Aug 21, 8:43 pm, Sam Griff

Another JavaFX and Clojure Demo

2010-08-22 Thread Sam Griffith
Hello group, I'd replied a long time ago to one of the posts about JavaFX and Clojure working together... I've now finally gotten back to putting it up on Github. It is very rough and ugly code, but it does show one way to get Clojure working with JavaFX. The simplest way I could imag

Re: JavaFX and Clojure

2010-08-20 Thread prishvin
Thats good news, thanks. I've put repositories at watch. -- 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

Re: JavaFX and Clojure

2010-08-20 Thread polypus74
keep a close eye on these spaces: http://github.com/polypus74/cljfx http://github.com/polypus74/lein-javafx i should have something up within weeks. _c On Aug 20, 2:03 pm, prishvin wrote: > Dear friends, > > The are talks about using JavaFX with Clojure, but I was unable to > find a single exa

JavaFX and Clojure

2010-08-20 Thread prishvin
Dear friends, The are talks about using JavaFX with Clojure, but I was unable to find a single example of such interaction. Have anyone really done the UI with JavaFX for a Clojure programm? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Clojure"