O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

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

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. 

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