Question: how to use fxml in eclipse?
Answer: To create a new JavaFX FXML project using Eclipse, you must first create a new JavaFX project and then add a new FXML document to that JavaFX project. From the Eclipse IDE Main menu, select File, choose New, and then Other, as shown in Figure 2-1.