JAVAFX
ListView
Article by:Geoffrey Hunter
Date Published: | |
Last Modified: |
Creating A List View In FXML
Although this would not be the standard way to do it (normally a ListView would be populated by the backend Java code), you can create a ListView node using pure fxml code:
|
|
Note that is important to wrap the String objects inside a ObservableArrayList
object.
Authors
This work is licensed under a Creative Commons Attribution 4.0 International License .