Any component you select from the middle part of the hierarchy is shown in the inspector. ![]() You can edit various properties of the currently selected component here. On the right there is the current component inspector.The middle part is your application rendered based on your FXML file.It also contains the hierarchy of all the components in your UI, so you can easily navigate it. The left part shows available components, which you can drag and drop to the middle part.There are three main sections of the editor. In a nutshell, it is a graphical editor for your GUI. The good news is that there is an official tool called Scene Builder to help you with building your UI. ![]() However, it is not very convenient still. Writing your GUI structure in XML may be more natural than in Java (especially if you are familiar with HTML). Public void start ( Stage primaryStage ) throws Exception Scene Builder
0 Comments
Leave a Reply. |