You want to display items in a UI table control similar to Java Swing’s JTable component.
Create an application using JavaFX’s
javafx.scene.control.TableView class. The
TableView control provides the equivalent functionality similar to Swing’s
To exercise the
TableView control you will be creating an application that will display bosses and employees. On the left you will implement a
ListView control containing bosses, and employees (subordinates) will be displayed in a
TableView control on the right.
Shown here is the source code of a simple domain (
Person) class to represent a boss or an employee to be displayed in a
package javafx2introbyexample.chapter1.recipe1_14; ...