Adding Javadoc to a Project

See Also 

You can make Javadoc documentation for a JAR file's class available in the IDE by associating that documentation with the JAR file.

If you want to have access to compiled JDK documentation through the IDE, see Adding the JDK Javadoc to the IDE

To add Javadoc for a JAR file:

  1. Choose Tools > Libraries from the main menu.
  2. In the left pane of the Library Manager, select the project library within which the JAR file you want to add Javadoc documentation to is located.
  3. If the JAR file for which you want to add Javadoc documentation has not already been added to a registered library, create a new empty library using the New Library button. Next, in the Classpath tab click Add JAR/Folder and specify the location of the JAR file containing the compiled class files.
  4. Notes:

  5. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files.
  6. Click OK to exit the Library Manager.

    The IDE adds the selected JAR files and Javadoc documentation Zip files to the specified library and automatically registers the documentation in every project that has that JAR file on its classpath.

See Also
Managing the Classpath
Attaching Source Code to a JAR File
Viewing Javadoc Documentation

Legal Notices