# Projects Window

The Projects window is the main entry point to your project sources. It shows a logical view of important project contents.

You can right-click each node in the Projects window to open a context-sensitive popup menu listing commands that you can run on that node. The popup menu for project nodes contains all of the major project commands. The commands that are enabled in the popup menu will vary according to the node and project type. More

You can right-click inside the white space of the Projects window to open a popup menu with the following project commands that you can run on open projects.

Command | Description
--- | ---
New Project | Opens the New Project wizard.
New File | Opens the New File wizard.
Open Project | Opens the Open Project window.
Open Recent Project | Enables you to select from a list of recently opened projects.
Project Group | Enables you to open a project group or create a new project group.
Build Main Project | Builds the main project. Only enabled when a main project is set.
Clean and Build Main Project | Cleans and builds the main project. Only enabled when a main project is set.
Run Main Project | Runs the main project. Only enabled when a main project is set.
Debug Main Project | Debugs the main project. Only enabled when a main project is set.
Set Main Project | Enables you to set one of the open projects as the main project.
Collapse All | Collapses all nodes in the Projects window.
View Java Packages As | Specifies how Java source files are displayed in the Projects window. Select one of the following options:
List | When selected, files are displayed according to their logical structure.
Tree | When selected, files are displayed in a directory-based view.
Reduced Tree | When selected, files are displayed in a directory-based view and packages are displayed according to their logical structure.

You can view all of your project contents in a directory-based view in the Files window.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.