Adding java docs to a program in netbeans
javadoc, netbeans
Solution
You have a number of options:
- Right-click on a source package and select Tools > Analyse Javadoc. This will add Javadoc to all methods
- Type /** on the line before a class, method or field declaration, and then press Enter. Default Javadoc will be created for that method
- Place the cursor within a class or method declaration. Press Alt + Enter, and then select "Create Javadoc"
Problem
How can I add java docs to my java program using netbeans?