if you want to build a UI in JavaFX, you can refer to the how-to instructions such as Use layouts, and Work with controls, referred to in the screen shot above. Clicking on the Use layouts link takes you to an instructive guide, shown in the screen shot below, on how to layout a UI in JavaFX.