In rich GUI frameworks, displaying data in a structured list is one of the fundamental GUI controls made available to users. In this recipe, we will discuss how to use the
ListView component to collect and display data.
ListView control is part of the GUI control collection offered by JavaFX in the
javafx.scene.control package. If you have not used the JavaFX controls, it may be helpful to review the recipe Creating a form with JavaFX controls for some background information. Some of the code uses JavaFX constructs, such as for-loop expressions. If you need a refresher, review Chapter 1, Getting Started with JavaFX, which covers language fundamentals.
ListView component ...