Our second Kotlin JavaFX tutorial. In this class we see how to populate a JavaFX ListView from an ArrayList. We render items in a nice JavaFX ListView. Our data source is an arraylist.
When the user selects an item from the ListView we show the selected item in a JavaFX dialog. The javafx dialog will show the ListView's selecteditem.
As usual we work from scratch so this is an important class for JavaFX beginners as we move step by step.
Remember our programming language is Kotlin.
Cheers.