JavaFX S1E3 : ListView - Fill From HashTable

preview_player
Показать описание
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.
Рекомендации по теме