hi, i needed to add a new java library to NetBeans so that it becomes easier to code. I just couldn't get it how to do it ,then finally i got the solution on irc.
here are the steps so that you don't feel harassed the next time :)
1. Save the folder in the home directory, e.g /home/yourloginname.
2. Now, open NetBeans, go to the Project you've created and there you'll find the Library. There you can add a new Jar file .
3. To add the docs you need Library Manager which is under Tools. There in the Javadoc tab you can add the doc folder.
4.. Then you also need to add this folder under the same library package as you added the Jar file
That's it , njoy coding .
Hope that was useful. :)