The Projects window is the main entry point to your project sources. It shows a logical view of important project contents such as Java packages and Web pages. You can open the Projects window by choosing Window > Projects (Ctrl-1).
The following table lists the main project icons as they appear in the Projects window.
Icon | Description |
---|---|
![]() |
Standard Java project |
![]() |
Standard web project |
![]() |
EJB module project |
![]() |
Enterprise application project |
![]() |
NetBeans plug-in module project |
![]() |
Enterprise application client project |
![]() |
Enterprise packaged archive project |
![]() |
Free-form project |
![]() |
Web pages node. This node appears in web projects. |
![]() |
Java packages root. In , there is one Java package root node for each of your source folders. |
![]() |
Java package |
![]() |
Empty Java package |
![]() |
Private Java package |
![]() |
Public Java package |
Whenever you have multiple projects open, one should always be set as the main project. The main project is usually the project that contains an application's main class. The IDE provides shortcut commands to quickly build, run, and debug the main project.
In the Projects window, the main project is shown in bold. You can set any project as the main project by right-clicking its project node and choosing Set as Main Project.
Each node in the projects window has a pop-up menu of commands that you can run on that node. You open a node's pop-up menu by right-clicking the node. The pop-up menu for project nodes contains all of the major project commands, like Build, Run, and Debug. The pop-up menu also contains a Properties command, which you can use to configure your project.