O'Reilly logo

JavaFX A Beginners Guide by J. F. DiMarzio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13Using 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 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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required