JavaFX 2.0 is Java’s next generation graphical user interface (GUI) toolkit for developers to rapidly build
rich cross-platform applications. Built from the ground up, JavaFX takes advantage of modern GPUs
through hardware-accelerated graphics while providing well-designed programming interfaces enabling
developers to combine graphics, animation, and UI controls. The new JavaFX 2.0 is a pure Java language
application programming interface (API).
The key architectural strategies provided by JavaFX 2.0 API are the reuse of existing Java
libraries and the bridging of communication between other languages that run on the JVM (Visage,
Jython, Groovy, JRuby, and Scala).
JavaFX 2.0: Introduction by Example provides a quick start to programming the JavaFX 2.0 platform. JavaFX 2.0 provides a rich set of APIs for use in creating graphically exciting client applications written solely in Java. You get a large set of customizable components that can be skinned using CSS techniques that you already know from doing web development. The platform even includes a web rendering engine enabling you to mix HTML content into your applications. Hardware acceleration means that your applications are fast and snappy, taking full advantage of modern graphics processing support at the hardware level. JavaFX 2.0 opens the door to business applications that look good, are fun to use, that take advantage of the medium to present data of all types—text, audio, video, etc.—in ways that engage the user and lead to increased productivity.
Getting started with JavaFX 2.0 is surprisingly easy. You already have the Java skills. Very likely you know enough of CSS to get by. All that’s left is to get a leg up on the API, and that’s where JavaFX 2.0: Introduction by Example can help. In this short book, author Carl Dea takes you through a series of engaging, fun-to-work examples that bring you up to speed with the major facets of the platform. Begin with the fundamentals of installing the software and creating a simple interface. Move in progressive steps through the process of developing a working dialog box for an application. Then let the fun begin as you explore images and animations, audio and video, and finally learn to embed JavaFX applications in a web page as well as embedding HTML5 content within an application. At the end of this book you’ll have a good grasp of what JavaFX is all about, and you’ll be ready to begin your journey towards mastery of the platform.
Focused on practical applications
Full of working code for you to adapt and extend
What you’ll learn
Install JavaFX 2.0 and configure your environment
Create applcations menus and dialog boxes
Design forms for data entry
Work with images and animations
Embed audio and video into your applications
Deploy JavaFX applications in a browser
Who this book is for
JavaFX 2.0: Introduction by Example is aimed at Java programmers wanting to learn the JavaFX 2.0 platform for designing graphic- and media-rich client applications for the enterprise. Readers should be familiar with Java, and preferably also with the NetBeans Integrated Development Environment.
Table of Contents
Graphics with JavaFX
Media with JavaFX
JavaFX on the Web