Generating new FXML files in a project
已回答
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.
请先登录再写评论。
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
Thank you very much!
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