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

后端 未结 6 810
长发绾君心
长发绾君心 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:48

    You can't usually just add the javadoc zip as a separate library (at least this hasn't worked for me in the past.) In the libraries section you need to select the library you want to add the Javadoc for and then add the Javadoc jar for that specific library.

    Restart Netbeans then that should work. Though of course if there really is no Javadoc for that method you still won't get any (I've fallen into that trap a couple of times before!)

提交回复
热议问题