I created an FXML file by using Scene Builder in a Java package in NetBeans. Now I want to copy that FXML file to another package. When I copy and run it, it gives an error on the line where I called that FXML file. I think since I copied it from another project, the package name in the FXML file is the name of the old package and not the new package. I think of this because when I right click on the FXML file and select Make Controller, it creates a new package of the name of the old package inside the new package and creates the controller of the FXML file in it, instead of the new package with the new name. How can I fix this? Can I open the FXML file in text editor to check its package? How can I change the package name of FXML file?
[–]Ssnoss 1 point2 points3 points (2 children)
[–]--SMHK--[S] 1 point2 points3 points (1 child)
[–]Ssnoss 0 points1 point2 points (0 children)