By ifedor on Sep 20, 2013
JavaFX 8 Developer Preview Documents were published today on http://docs.oracle.com/javafx. They comprise Getting Started with JavaFX 3D Graphics, Adding HTML Content to JavaFX Applications, and Embedding Swing Content in JavaFX Applications.
A new document, Getting Started with JavaFX 3D Graphics, introduces the 3D graphics features that are included in the upcoming JavaFX 8 APIs. The features include 3D shapes, camera, lights, subscene, materials, and picking. The document also steps you through the creation of a simple 3D sample application, MoleculeSampleApp, that uses some of the 3D features discussed in the document.
The JavaFX WebView tutorial was extended to highlight the new features and improvements in the JavaFX 8 Web component. Review Supported Features of HTML5 for more information about additional HTML5 features including Web Sockets, Web Workers, and Web Fonts. Make the most of your WebView based applications with the new printing capabilities covered in Printing HTML Content.
Embedding Swing ContentThe ability to embed JavaFX content in Swing applications has existed since the JavaFX 2.0 release. This tutorial introduces the
SwingNodeclass available in the JavaFX 8 APIs that provides reverse integration. A new document describes how to embed Swing components in JavaFX applications and provides working applications that illustrate Swing buttons with HTML content embedded in a JavaFX application and interoperability between Swing and JavaFX buttons.