The Add Module Dependency dialog box lets you add the modules that your module needs. When you do so, the IDE adds entries to the module's project.xml
file. You can open the Add Module Dependency dialog box by right-clicking a project's Libraries node and then choosing Add Module Dependency. Alternatively, right-click a project and then choose Properties. In the Project Properties dialog box, choose Libraries and then click Add next to the Module Dependencies list.
Element | Description |
---|---|
Filter |
Search for the modules you need by typing the class that you want to use. The module dependencies list narrows, listing only those modules that can provide the class that you are typing. |
Show Non-API Modules |
If unchecked (default), the IDE excludes any module for which the current module cannot access any packages without an implementation dependency. These are known as "non-API modules". In other words, only modules with public packages are included, or friend packages where this module is a friend. |
Once you have found the module you need, click OK, and then the IDE will add the associated entries in the project.xml file.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |