You want to create a GUI application containing two list view controls allowing the user pass items between the two lists.
Take advantage of JavaFX’s
javafx.scene.control.ListView classes to provide a model-view-controller (MVC) mechanism that updates the UI’s list view control whenever the back-end list is manipulated.
The following code creates a GUI application containing two lists that allow the user to send items contained in one list to be sent to the other. Here you will create a contrived application to pick candidates to be considered heroes. The user will pick potential candidates from the list on the left to be moved into the list ...