Working with Java Projects
You can organize Java projects in two different ways.
-
Using the project as the container of packages: In this organization, all Java packages are created inside the project directly This is the selected organization by default.
-
Using source folders as the container for packages: In this project organization, packages are not created directly inside the project but in source folders. You create source folders as children of the project and create your packages inside these source folders.
The default organization for new projects can be changed on the preference pages (Window > Preferences > Java).