r/JavaFX • u/EmbarrassedSale7376 • Dec 27 '24
Help I'm new to technical stuff, and I made a JavaFX project using maven. Can someone help me understand what all this is and how to better organize it? I keep messing stuff up when trying to add things.
4
Upvotes
2
u/impune_pl Dec 27 '24 edited Dec 27 '24
https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
I'm having trouble finding official materials on modules and packages, so here are baeldung articles https://www.baeldung.com/java-packages https://www.baeldung.com/java-modularity
2
u/Fancy_Entertainer486 Dec 27 '24
For starters, you can safely ignore the entire “target” folder.
As for the rest, all the basic files are where they’re supposed to be for the general structure. New FXMLs (GUIs) go into the resources folder and follow the same structure as your packages (that is “com/fxtesting” in your case.
Anything more specific that’s confusing you?
-1
u/BlueGoliath Dec 28 '24
Use Netbeans. IntelliJ is poorly designed. And stop using FXML.