Generating new FXML files in a project

Answered

Hello all,

I'm wondering if there is a way to auto-generate the 3 files used for FXML (application, controller, fxml file) in an existing project. For clarity, when I create a new project those 3 files are auto-generated for me - which is very convenient! I'm wondering if there is a way to do this in an existing project?

Thanks for any help.

0
3 comments

You can use the "file templates with multiple files" feature for that: 

https://www.jetbrains.com/help/idea/templates-with-multiple-files.html#mvc-example

 

1

Thank you very much!

0

Click on the File menu and select Project Structure . In the dialog that appears, select the Libraries tab and click the + icon to add a new Java library: Find your javafx-sdk folder and select the lib subfolder: Click the OK button to complete the process.  MYiClubOnline Crunch

0

Please sign in to leave a comment.