JavaFX
Prerequisites
None, but to get the most out of this session, please visit Jim Weaver's Learn JavaFX weblog http://learnjavafx.typepad.com
.
A good place to start reading is the Develop and Run Your First JavaFX Script Program in the Next Few Minutes post http://learnjavafx.typepad.com/weblog/2007/10/develop-and-run.html
Abstract
JavaFX Script is a statically typed language that allows good IDE support and compile-time error reporting and has type inference, declarative syntax, and automatic data binding with full support for 2-D graphics and tandard Swing components as well as declarative animation. You can also import Java class files, create new objects for the Java platform, call their methods, and implement interfaces for the Java platform.
IDE plug-ins are available for both the NetBeans IDE and Eclipse. Both plug-ins support as-you-type validation, code completion, syntax highlighting, and hyper link navigation.
An excerpt from the speaker's blog at http://learnjavafx.typepad.com
lists some of the strengths of JavaFX Script:
- Its simple, declarative syntax used to express user interfaces, including a very rich set of layout widgets that make easy work of laying out a user interface in a platform-independent way.
- Its innate ability to support the model-view-controller pattern because of its very powerful bind capability.
- The concept of triggers (functionality that is automatically invoked when certain conditions take place, such as when the value of an attribute changes). This enables the declarative syntax as well.
- JavaFX programs will run anywhere Java programs will run, because they run within the context of a Java Virtual Machine (JVM).
- Its very powerful syntax for defining, modifying, and querying sequences (think arrays).
Some of the content of this presentation will be based upon the book written by the speaker entitled "JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-Side Applications" http://www.apress.com/book/view/1590599454
Speaker