System News
Learning the JavaFX Script Programming Language
Basic Tutorial Lessons in JavaFX
March 12, 2009,
Volume 133, Issue 2

The JavaFX Script programming language lets you create modern looking applications with sophisticated graphical user interfaces.
 

With 11 Lessons, the tutorial, first in the series, provides the basics for learning the JavaFX Script programming language. Focusing on the fundamentals of non-visual, core constructs that are common to all FX applications, learners, when finished with this tutorial will be ready for Building GUI Applications with JavaFX, the second tutorial in this series. Following these lessons, the Media Browser tutorial will walk users through the complete end-to-end development of a real-world application.

In addition, advanced developers will be interested in the JavaFX Script Programming Language Reference and Application Programming Interface (API) documentation. These reference documents provide a lower-level discussion of the syntax, semantics, and supported libraries of the JavaFX Script programming language and SDK.

"The JavaFX Script programming language lets you create modern looking applications with sophisticated graphical user interfaces. It was designed from the ground up to make GUI programming easy; its declarative syntax, data binding model, animation support, and built-in visual effects let you accomplish more work with less code, resulting in shorter development cycles and increased productivity."

Lessons in this Tutorial

Lesson 1: Getting Started with JavaFX Script — Provides software download and installation instructions, plus a discussion on choosing an appropriate development environment.

Lesson 2: Writing Scripts — Provides an introduction to compiling source code, running an application, declaring script variables, and invoking script functions.

Lesson 3: Using Objects — Provides an introduction to objects, showing how to declare an object literal and how to invoke an object's functions.

Lesson 4: Data Types — Discusses the built-in data types String, Number, Integer, Boolean and Duration, plus the use of Void and null.

Lesson 5: Sequences — Introduces the sequences data structure, which is used to store and manipulate a list of objects. This lesson discusses how to create, use, and compare sequences and their subsets (called slices).

Lesson 6: Operators — Introduces the supported operators (assignment, arithmetic, unary, relational, conditional and type comparison).

Lesson 7: Expressions — The JavaFX Script programming language is an expression language. This lesson explains what that means, and discusses the different types of expressions that are available for you to use.

Lesson 8: Data Binding and Triggers — One of the most powerful features of the JavaFX Script programming language is the ability to automatically synchronize a GUI with its underlying data. This lesson explores the basic mechanics of the data binding and trigger constructs.

Lesson 9: Writing Your Own Classes — The JavaFX API provides a large number of classes for you to use in your applications. There may be times, however, when you will want to write a custom class of your own design. This lesson explores the basics of what is involved when doing so.

Lesson 10: Packages — Placing your source files into named packages will make your code more organized in terms of namespace management. This lesson explores the creation and use of packages with a step-by-step example that walks you through the various considerations.

Lesson 11: Access Modifiers — Access modifiers are used to specify various levels of visibility for your variables, functions and classes. This lesson explores the available access modifiers, and discusses what happens when no access modifier is provided.

More Information

Learning the JavaFX Script Programming Language

JavaFX

Layout Primer for JavaFX1.0

Free OnlineTutorials for Students and Professionals with a Passion for Java

A Glance at the Future of JavaFX

The Man Behind JavaFX [...read more...]

Keywords:

fullsource
 

Other articles in the Java Technology section of Volume 133, Issue 2:

See all archived articles in the Java Technology section.



News and Solutions for Users of Solaris, Java and Oracle's Sun hardware products
Just the news you need, none of what you don't – 42,000+ Members – 24,000+ Articles Published since 1998