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

后端 未结 6 829
长发绾君心
长发绾君心 2021-02-15 10:45

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

Tools >> Java Platform >> JavaDoc Tab >> JavaDoc.zip (in my de         


        
6条回答
  •  情话喂你
    2021-02-15 11:38

    I had the same problem, and I solved it by removing all URLs and adding only the apidocs.zip downloaded from oracle. After that restart your NetBeans.

    Before test whether it works be sure the method you are looking for actually exists within the apidocs. Open index.html and make a search for that particular package.class.method you need.

    If it doesn't work, try to manually copy the apidoc.zip to the docs directory of netBeans: C:\Program Files\NetBeans 7.1.2\java\docs and then retry.

提交回复
热议问题