Issue
I am working on a JavaFX
project based on the Henley Sales sample application and I would like to know if there is a way in IntelliJ
to add a package structure in the main/resources
folder, like it is allowed in the main/java
folder ? In the sample project, they suggested to create your FXML
files in the main/resources
folder according to the package structure in the main/java
folder.
Thanks.
Solution
Right click on the resource content root, New | Directory, create a directory corresponding to the package, for com.mycompany.myapp
package type com/mycompany/myapp
. IDE will create the directory tree structure:
Answered By - CrazyCoder