Java Reference
In-Depth Information
Person biker = new Person(“Mountain Biker”,
“Jonathan”, “Gennick”);
biker.employeesProperty().add(new
Person(“JavaJuneau”, “Joshua”, “Juneau”));
biker.employeesProperty().add(new Person(“Freddy”,
“Freddy”, “Guime”));
biker.employeesProperty().add(new Person(“Mark”,
“Mark”, “Beaty”));
biker.employeesProperty().add(new Person(“John”,
“John”, “O'Conner”));
biker.employeesProperty().add(new Person(“D-Man”,
“Carl”, “Dea”));
people.add(docX);
people.add(magneto);
people.add(biker);
return people;
}
Figure 14-13 displays the application that demonstrates JavaFX's TableView
control.
Figure 14-13 . Working with tables
 
 
Search WWH ::




Custom Search