O'Reilly logo

JavaFX 1.2 Application Development Cookbook by Vladimir Vivien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a form with JavaFX controls

The previous chapters demonstrated the power of the JavaFX platform in creating engaging UI experiences with features such as animation, effects, and so on. Data capture is an equally important aspect for a great user experience. In this recipe, you will learn how to assemble standard JavaFX GUI controls to build a form to collect data.

Getting ready

This recipe attempts to use as many standard JavaFX controls as possible to create a form to collect data from the user. All of the controls used here are found in the package javafx.scene.control.

What is a Control anyway, you may ask? Controls provide a uniform graphical and interaction model with consistent and predictable behaviors. For instance, a button, a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required