July 27, 2016
Watch this video series on adding notifications to a working app using the JavaFX component StackPane. The notifications are overlayed onto a corner of the main content. A second usage of StackPanes is also presented to assist with centering content.
This series starts with a working app and adds the notification requirement in two parts. Part 1 - Design adds the UI elements using Scene Builder. Part 2 - Code walks through the JavaFX Controller code.
The source code presented in this video series is a Gradle project found in the zip file below. The zip file is packaged with the Gradle Wrapper, so no additional installation is required.NotifApp Source Zip (73Kb)
To run the demo application without an IDE
To run the demo in an IDE as in the video, import the project source as an existing Gradle project.
By Carl Walker
President and Principal Consultant of Bekwam, Inc