Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
Adding a new library to NetBeans
Most libraries come as part of the platform you’re using, which is specified in the Java Platform Manager. Additional libraries can be added through the Library Manager which you find on the Tools menu. This makes it easier to use libraries because the NetBeans IDE will use this information to provide you documentation support (JavaDoc), to see the source code, etc. In addition NetBeans will ensure that the library is available on the classpath when executing the application.
To add a new library click the New Library... button. Give a name to the library and click the OK button. The library should appear in the library tree at the left hand side of the Library Manager dialog box.