Libraries, APIs, and Documentation

Author: Layton Smith

This lecture covers how to use libraries and APIs, and how to write useful documentation.

Lecture Materials

Library Usage

Because the library installation was done as a demo, I have made screenshots showing how to install a library in NetBeans.

Right click the Library folder, and click Add JAR/Folder. Find the jar you wish to add, and select it.

To add the javadoc/sources to it, right click Library Folder, and then click Properties. Select the library you wish to add sources/javadoc to, and select it, then click edit.

Add the sources in this window. Note that you can include a zip file, so you don't need to unzip the sources.