JavaFX Alert dialog example

Quite often when building desktop applications there is a need to present information to the user.  A popular means of doing this is through the use of a popup dialog box.  Now there are many types of dialog box and in this tutorial we take a look at the error type as provided by JavaFX Alert class.

So below this a play list showing a mini application with an alert dialog box used to highlight to the user errors in completing input fields.  The play list shows a demonstration of the application and then the code used to create the error dialog box.

You can download the source code used in this playlist but you will need to provide an email address.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.