How to Efficiently Work with Javadoc in NetBeans IDE
In the IDE, type "/**" above a syntactical Java unit, as shown below...
Published at DZone with permission of its author, Harris Goldstone.
Then press Enter and you will have Javadoc, like this:
Then, if the signature changes (e.g., a new parameter is added), select the file in the Projects window, right-click it, and choose Tools | Analyze Javadoc to let the IDE update the Javadoc for you.
| Attachment | Size |
|---|---|
| fig-1.png | 4.04 KB |
| fig-2.png | 7.14 KB |
(2 votes)
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





Comments
Crest Dubua replied on Mon, 2009/01/12 - 4:40am
Good job !
James Branam replied on Tue, 2009/01/20 - 9:13am
Hi,
My name is James Branam and I'm the NetBeans Community Docs Manager. Your blog entry would make a fantastic tips & tricks entry for our Community Docs wiki (http://wiki.netbeans.org//CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.
--James Branam
NetBeans Community Docs Manager
smith hou replied on Tue, 2009/09/01 - 9:49am
smith hou replied on Tue, 2009/09/01 - 9:50am