New Docs and Updates with JavaFX 2.1
By Aredko-Oracle on Apr 26, 2012
New documentation has been added with the JavaFX 2.1 release.
- The Getting Started guide has grown into a series of introductory tutorials.
- Hello World, JavaFX Style introduces you to the basic structure of a JavaFX application. An added benefit of this tutorial is that enables you to test that your JavaFX technology is installed properly.
- Creating a Form in JavaFX teaches the basics of screen layout, how to add controls to a layout pane, and how to create input events.
- Fancy Forms with JavaFX CSS is all about making your JavaFX application look attractive by adding a Cascading Style sheet.
- Using FXML to Create a User Interface shows the benefits of JavaFX FXML in action. Here you use FXML to create the same login user interface as in the earlier section, but this time separating the application design from the application logic.
- Animation and Visual Effects is the original Colorful Circles tutorial, which shows how to create transparent, colorful circles that move on a black background.
- Deploying your First JavaFX Application shows how to deploy the Getting Started tutorials.
- New Tree Animation Example chapter in the Creating Transitions and Timeline Animation in JavaFX document. The chapter describes the Tree animation sample application and provides some tips and tricks regarding animation in JavaFX.
- Working with Layouts in JavaFX has a new chapter that describes how CSS can be used to style the different types of layout panes. Source code and NetBeans projects have also been added to each chapter to provide the code used in the examples.
- Getting Started with FXML has been expanded to include the following chapters:
- FXML—What’s New in JavaFX 2.1 — a list of FXML enhancements in JavaFX 2.1 and incompatibilities with previous releases.
- Creating an Address Book with FXML — a tutorial that shows how to populate a table with data, sort the data at application startup, align the data in the table cells, and add rows to the table.
- Deployment of FXML Applications — a description as to why some FXML applications need digital signatures. An alternative to signing the application is also presented.
- The JavaFX for Swing Developers tutorial provides an overview of JavaFX benefits available to GUI developers, illustrates the JavaFX–Swing interoperability, and shows how to enrich an existing Swing application by taking advantage of JavaFX functionality.
Send us your feedback to let us know which topics and use cases you would like to be discussed in this document to help Swing developers adopt the JavaFX technology.
- New Combo Box chapter was added to the JavaFX UI Controls tutorial. Read this chapter to learn how to create combo boxes in your UI, style them, and implement cell factories. All the samples of the JavaFX UI Controls tutorial are available in one NetBeans project now. Download UIControlSamples.zip to explore JavaFX UI controls in action.
- Refer to Using JavaFX Charts to lean more about the new types of charts supported in JavaFX 2.1: stacked area chart and stacked bar chart.
Our special announcements:
- JavaFX for Mac is installed with JDK 7u4. See JavaFX SDK 2.1 Installation for Mac OS X for more information.
- JavaFX Scene Builder 1.0 Developer Release documentation is now available as part of the JavaFX documentation offerings. JavaFX Scene Builder is a visual layout tool that lets you quickly design user interfaces for a JavaFX application. Simply drag and drop UI components to a work area, modify their properties, apply style sheets, and the FXML code for the layout is automatically generated in the background. You can then bind that UI layout to your Java application's logic. Learn more by reading the JavaFX Scene Builder User Guide and also by creating a simple issue-tracking application using the Getting Started with JavaFX Scene Builder document.