« Return to Thread: "Scala FX" and properties

Re: "Scala FX" and properties

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View in Thread

This scenario 1.2 is in the JavaFX SDK? Where?
The binding doesn't sound like it's anything you can't write in scala in less lines than it takes to use the other binding frameworks, thanks to update and apply syntactic sugar. Correct me if I'm wrong.
I actually started working on such a framework, including support for states and animation. It's amazing what you can do in scala in only a few lines, but I don't know how much time I have to take it further, and besides which whatever time I would have I might as well invest in ScalaFX. But I'll attach what I did so far.



On Mon, Jun 22, 2009 at 4:13 PM, Scot McSweeney-Roberts <maethorechannen@...> wrote:


On Mon, Jun 22, 2009 at 17:55, Naftoli Gugenheim <naftoligug@...> wrote:
Isn't that what Sun's scenegraph/scenario project is?


From what I can gather from the project site, scenegraph is/was a way for Java code to access the same scenegraph code JavaFX was using as opposed to a full Java <-> JavaFX bridge. The project looks dead - there's no mention of JavaFX 1.2, there haven't been any code commits since September 2008 and there's no mention of it on the JavaFX site (where the Learn JavaFX page has an almost empty section on "JavaFX, Java, Javascript"). To top things off - it's GPL without the classpath exception, which could be quite restricting.

However, I've found this post on using JavaFX 1.2's scenario.jar in Java
http://lqd.hybird.org/journal/?p=147

And there's an interesting article on using JavaFX's binding mechanism in java here -
http://today.java.net/pub/a/today/2009/06/02/hacking-javafx-binding.html


So it probably is possible to use Scala as a JavaFXScript replacement (at least on the Desktop), if you're willing to spend quality time with Google.




State.zip (6K) Download Attachment

 « Return to Thread: "Scala FX" and properties