© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. SpäthFrontend Development with JavaFX and Kotlinhttps://doi.org/10.1007/978-1-4842-9717-9_6

6. Lists and Tables

Peter Späth1  
(1)
Leipzig, Germany
 

With lists, tables, and trees being rather elaborate and special controls, we did not handle them in Chapter 5, and a discussion of them was postponed to this chapter. Despite being possibly more complex compared to other control nodes, you add them to containers just like any other node type. In the following sections, we talk about creating such collection views and summarize the options for data housekeeping, appearance, and behavior.

Lists with ListView

A ListView can present a number of items in a list, ...

Get Frontend Development with JavaFX and Kotlin: Build State-of-the-Art Kotlin GUI Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.