Featured Post

Applying Email Validation to a JavaFX TextField Using Binding

This example uses the same controller as in a previous post but adds a use case to support email validation.  A Commons Validator object is ...

Wednesday, September 21, 2016

A TornadoFX Kotlin Context Menu with Alert Confirmation

This post demonstrates how to specify an action handler for the TornadoFX alert() function.  This code supports a ContextMenu delete operation.  The delete operation requires a confirmation.   "Cancel" will cancel the delete operation, closing the ContextMenu.  "OK" will adjust the TableView and call the back-end logic through a TornadoFX Controller class.

The purpose of the post is to show the syntax of Kotlin and TornadoFX rather than provide working code.  For that type of tutorial, check out courses.bekwam.net/public_tutorials.


Monday, September 19, 2016

A Kotlin JavaFX TableView Row Factory with a Lambda

This post applies a Kotlin Lambda to a JavaFX TableView control.


Wednesday, September 14, 2016

Visual Cues Through JavaFX ChangeListeners

This is the third post in a series on confirming input using JavaFX.  The prior posts demonstrated how to control access to a Save Button and how to integrate a Commons Validator object to validate an email  This post adds a visual cue to the program that guides the user into producing correct input.  A ChangeListener is applied to a custom BooleanBinding which is triggered when the input is changed.

Also, an animation is applied to smooth the display of the visual cue.

Tuesday, September 13, 2016

Applying Email Validation to a JavaFX TextField Using Binding

This example uses the same controller as in a previous post but adds a use case to support email validation.  A Commons Validator object is used to apply the email validation rules to a TextField.  This is hooked in to the JavaFX program using a compound Binding expression.