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

后端 未结 5 1429
夕颜
夕颜 2021-02-15 10:52

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         


        
5条回答
  •  抹茶落季
    2021-02-15 11:35

    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!)

提交回复
热议问题