Referencing JDK Documentation (Javadoc) from the Project


When you are coding in the IDE, it is often useful to have Javadoc documentation handy for the classes you are using. When you have Javadoc documentation on your system, you can freely browse it from within the IDE by jumping to a browser from the class you have currently selected in your code (Alt-F1).

The JDK documentation is not included with the standard JDK download. If you do not have the JDK documentation on your system, you can get it from http://java.sun.com (for JDK 5.0, go to http://java.sun.com/j2se/1.5.0/download.jsp).

To make JDK documentation viewable in the IDE:

  1. Choose Tools | Java Platform Manager.

  2. Select the Javadoc tab.

  3. Click the Add ZIP/Folder button. Then navigate to and select the JDK documentation .zip file or folder on your system.

  4. Close the Java Platform Manager.

You do not need to have the JDK's Javadoc on your system to see Javadoc when you are using code completion. The code completion box gets Javadoc comments straight from the JDK source code.




NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 279

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net