Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add javaDoc to my Java code in a NetBeans based project?

How can I add JavaDoc or other document to netbeans ?
I try with this way :

Tools >> Java Platform >> JavaDoc Tab >> JavaDoc.zip (in my desktop) 

but in editor when I press Ctrl+Space in tooltiptext this message shown :

Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager.

I tried restarting NetBeans but this was the result:

enter image description here

like image 979
mahdi Avatar asked Feb 02 '11 08:02

mahdi


1 Answers

try this in NetBeans IDE

  1. Choose Tools > Java Platform Manager from the main window.
  2. Select the platform to which you want to add Javadoc in the left panel of the dialog box.
  3. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files.
  4. Click Close.

Hope this helps.

like image 137
Harry Joy Avatar answered Sep 25 '22 20:09

Harry Joy