Welcome to JavaPolis 2007!
Four Things I Want You to Take Away:
About the Presenter: James L. "Jim" Weaver
JavaFX Factoids
Session Take Away #1
JavaFX is Simple and Elegant
DEMO
The action Attribute
Menu-related widgets
Menu-related widgets (cont)
DEMO
More JavaFX Factoids
DEMO
Factoid - The JavaFX Script Compiler Team
JavaFX is Simple and Elegant - Triggers
Creating String Expressions
Triggers Reduce Need for Setters
on replace Trigger Used for Setter
on replace Trigger Used for Setter (cont)
JavaFX Primitive Data Types
JavaFX Primitive Data Types (cont)
JavaFX is Simple and Elegant - Sequences & foreach
JavaFX is Simple and Elegant - Sequences (cont)
Sequences and Block Expressions
Simple and Elegant - if/else Statement and Expression
java is Simple, Elegant and Leverages Java
JavaFX Leverages the Power of Java
DEMO
JavaFX Leverages the Power of Java (Jah-va?)
Session Take Away #2:
DEMO
DEMO
Start Here - The OpenJFX Community Site
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 standard 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.
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
James L. (Jim) Weaver is the Chief Technical Officer at LAT, Inc.; a technology consulting and software development company. He is also the President of JMentor®, in which he writes books, speaks for groups and conferences, and provides training and consulting services on the subjects of Java and JavaFX. His latest book is entitled "JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-Side Applications". He also posts daily to a blog whose stated purpose is to help the reader learn JavaFX Script and other JavaFX technologies.