This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Build Rich Applications that Run on the Desktop, the Web, Mobile Devices...Anywhere!
Using JavaFX, developers and graphic designers can work together to build robust, immersive applications and deploy them anywhere: on the desktop, on the Web, and on millions of Java-enabled mobile devices. JavaFX lets you maintain your existing graphics and seamlessly integrate them into Java applications. Plus, JavaFX Script is a declarative language that allows you to preserve your investment in the Java platform while allowing more creativity with JavaFX’s Rich Internet Application environment.
JavaFX™: Developing Rich Internet Applications brings together all the knowledge, techniques, and reusable code you need to quickly deliver production-quality solutions. Writing for both developers and designers, the authors explain how JavaFX simplifies and improves the RIA development process, and they show how to make the most of its ready-built components and frameworks.
JavaFX™ covers everything from data integration to multimedia, special effects to REST. The authors present a full chapter of code recipes and a complete case study application. This book’s wide-ranging content includes
The Java™ Series is supported, endorsed, and authored by the creators of the Java technology at Sun Microsystems, Inc. It is the official place to go for complete, expert, and definitive information on Java technology. The books in this Series provide the inside information you need to build effective, robust, and portable applications and applets. The Series is an indispensable resource for anyone targeting the Java platform.
Please visit the author's site at jfxbook.com.
Download the sample pages (includes Chapter 3 and Index)
About the Authors xxiii
Chapter 1: Getting Started 1
Installing the JavaFX Platform 1
Setting Up NetBeans IDE for JavaFX 1.2 2
Command Line 9
Chapter Summary 18
Chapter 2: JavaFX for the Graphic Designer 19
Graphic Design and JavaFX 19
JavaFX Production Suite 20
Adobe Illustrator CS3 20
Adobe Photoshop CS3 26
Scalable Vector Graphics 30
Chapter Summary 31
Chapter 3: JavaFX Primer 33
JavaFX Script Basics 33
JavaFX Script Language 34
Class Declaration 36
Mixin Classes 38
Object Literals 40
Expressions and Operators 55
Chapter Summary 64
Chapter 4: Synchronize Data Models–Binding and Triggers 65
Bidirectional Binding 77
Advanced Binding Topics 80
Coming Features 91
Chapter Summary 92
Chapter 5: Create User Interfaces 93
User Interfaces 93
The Stage 93
The Scene 96
Input Events 121
Text Display 125
Custom Controls 136
Java Swing Extension 145
Chapter Summary 150
Chapter 6: Apply Special Effects 151
Chapter Summary 180
Chapter 7: Add Motion with JavaFX Animation 181
Computer Animation 181
Key Frames 185
Path-Based Animation 199
Total Solar Eclipse Examples 205
Chapter Summary 218
Chapter 8: Include Multimedia 219
Media–Audio and Video 225
Chapter Summary 234
Chapter 9: Add JavaFX to Web Pages with Applets 235
JavaFX and Applets 235
Deploying a JavaFX Application as an Applet 235
Java Web Start 256
Chapter Summary 258
Chapter 10: Create RESTful Applications 259
What Is REST? 259
JavaFX and REST 266
JavaFX and XML 277
Chapter Summary 278
Chapter 11: JavaFX and Java Technology 279
Java Objects 281
Function Parameter and Return Mapping 284
Java Scripting 293
JavaFX Reflection 299
Chapter Summary 302
Chapter 12: JavaFX Code Recipes 303
JavaFX and JavaBeans 303
Server Call Back 307
Node Effects–Fader and Magnifier 311
Wizard Framework 319
Progress Bar 325
Chapter Summary 332
Chapter 13: Sudoku Application 333
How to Access the JavaFX Sudoku Application 334
The Interface 334
Source for the Sudoku Application 336
The Overall Design 338
Interfacing with Java Components 342
Chapter Summary 346
ONE MONTH ACCESS!
Get unlimited 30-day access to thousands of Books & Training Videos about technology, professional development and digital media If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.