filmov
tv
JavaFX S1E3 : ListView - Fill From HashTable
Показать описание
We continue with our JavaFX series. In the episode 1, we work with a ListView as our component.
ListView allows us display lists of items hence it's imperative to know how to bind data to it and also retrieve the selected item when clicked.
That's in fact what we do. We populate the ListView from a Hashtable.
We then retrieve the selected item and show it in a dialog.
Let's go.
ListView allows us display lists of items hence it's imperative to know how to bind data to it and also retrieve the selected item when clicked.
That's in fact what we do. We populate the ListView from a Hashtable.
We then retrieve the selected item and show it in a dialog.
Let's go.