The JavaFX documentation has been updated. A new learning trail is available on the landing page to help you manage the look and feel of your JavaFX application. Besides this addition, you can find the following changes:
- Deploying JavaFX Applications has been heavily revised to incorporate several new deployment features in JDK 7u6/JavaFX 2.2. See What's New for more information.
- Hybrid applications that use both SWT and JavaFX libraries can benefit from the improved packaging support available in JDK 7u6. For information about how to package SWT-JavaFX applications, see JavaFX Interoperability with SWT.
- Handling JavaFX Events has been updated with information on touch and gesture events. The Working with Events from Touch-Enabled Devices chapter and sample provide information on handling events from touch-enabled devices.
- The Deployment chapter in Getting Started with JavaFX introduces self-contained applications, which are explained in more detail in the Deployment Guide.
- Two chapters were added to Using JavaFX UI Controls to introduce the Color Picker and Pagination controls. The Color Picker chapter, provides the design overview of the control, and explains how to use it in JavaFX applications. The Pagination chapter teaches how to add a pagination control to your application, manage its page items, and style the elements of the control with CSS styles.
- Mastering FXML has been updated to include the following chapters:
- JavaFX for Swing Developers has been updated to include the following chapter:
- Study Working with Canvas to learn about a new custom image that you can freely draw on. To use it, you simply obtain its
GraphicsContext and invoke its methods to render the shapes. You can even use this component to define a simple layer system.
- Implementing JavaFX Best Practices points out some best coding practices as found in the Henley Sales application. The concepts translate to JavaFX programming in general, so users should keep these suggestions in mind when developing their own applications.
- Study the modified version of Adding HTML Content to learn how to manage web history in your JavaFX applications.
Our special announcements:
- JavaFX Scene Builder 1.0 is officially released! The Scene Builder documentation is available at docs.oracle.com/javafx. Find out more information about Scene Builder in the Overview document.
- Starting the 2.2 release of JavaFX, the API documentation is not bundled together with the JavaFX SDK. You can download it from the Documentation section of the Oracle Technology Network.
You can download JavaFX 2.2 from OTN. For all tutorials and API documentation, see http://docs.oracle.com/javafx.