ListView

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.

 

Posted: November 12th, 2016 at 4:11 am