Getting ready

There is nothing much required if you have been able to implement the previous recipe. If you are coming directly to this recipe, there is nothing much to do either. The JavaFX APIs come with OpenJDK, which you must already have installed on your systems. 

We will develop a simple age calculator app. This app will ask for the user's name (which is optional) and the date of birth, and calculate the age from the given date of birth and display it to the user. 

Get Java 9 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.