Chapter 4
Using JavaFX Layouts
Key Skills & Concepts
• Arranging nodes in a Scene
• Using the HBox
• Nested layouts
Throughout this book, you have learned how to create and use nodes. At its core, JavaFX would not be very interesting without the ability to place these nodes on the screen. Nodes need to be placed logically on the screen for any user interface (UI) to be intuitive and usable.
To this point in the book, you have manually placed nodes within the context of a Scene. Then, using the x and y coordinates of the desired position, ...
Get Quick Start Guide to JavaFX 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.