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 content of a Scene. Then, using the x and y coordinates of the desired position, you have moved those nodes around to put them in a logical place. However, manually moving nodes around the screen can be a tedious task and ultimately take away from the time needed to develop functionality. ...