I've done a very simple example. What the example does currently is to have a two text fields and a button in JavaFX talk to an adapter/ wrapper in Java which then uses the RT to load a clojure file and then execute a function returning that result back to JavaFX which shows it in one of the text fields.
So the first text field is whatever and then the clojure function appends to that string passed in and returns a new string back up the chain. The whole thing replicates the MVC pattern. JavaFX - the View, Java - the Controller and Clojure - the Model. The next step is to use Clojure for the Controller as well and/or what I think is better for Clojure to be able to create a controller layer from any defined set of functions with certain metadata on them. That's the current direction I'm thinking of taking the idea. If you are interested, I can ship over the Netbeans project of it all. Sam Griffith Jr. On Jul 29, 6:19 pm, samppi <rbysam...@gmail.com> wrote: > I haven't tried JavaFX much myself, but has anyone tried or thought > about using Clojure to manage the logic and data of a JavaFX > application yet? What limitations would there be, other than having to > compile its Clojure code? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---