Download netbeans ide 6.7 Beta
Learn more about 6.7 Beta
Netbeans 6.7 beta introduces an exciting feature-integrationProject Kenai, a collaborative environment whereDevelopers can host their open-source projects. With netbeans and Kenai,A team of developers can create projects, edit, debug, build, and commitCode, and have discussions all through one easy-to-use
1. First you have to install JDK correctly, and configure environment variables can refer to the http://blog.csdn.net/chaimingkun/article/details/7488271
2. Install netbeans
First download netbeans to the netbeans official website, I use netbeans-7.1.1-ml-linux.sh
This error is prompted when you install
Ado
The Javadoc tools can help generate good API documentation, but most Java API documentation is bad. Because it's part of the source code, the API's documentation responsibility ultimately falls to the engineer.
In this article, Brian criticizes the current state of Java documentation Practice and provides some guidelines on how to write more useful Javadoc.
For most Java class libraries,
NetBeans switches other interface styles and netbeans interface styles
NetBeans is an excellent IDE, but the interface is too bright, so I love and hate it from the past. After some exploration, I have tested an extension software.
I like it very much.
The following tutorial does not talk nonsense:
1. Install NetBeans
As a project requires, an XML analysis processor is developed for the other siblings of the team and is designed as a class library that provides the appropriate API interface. For your convenience, you need to generate a corresponding JAVADOC help document, just like the JavaDoc provided by the Javase Standard library. My development tool for IntelliJ idea 12.1.6, itself provides a good
, Javadoc is the Java document technology, that is, through the "parasitic" in the source code file annotation information generated help documents, this help document itself is a detailed design document. Because the program code and the annotation information are in the same file, it is easy to adjust the annotation when changing the program, and the consistency between the two can be easily ensured.
As a Java programmer, you must have seen the JDK
Abstractsequentiallist* @since 1.2*/Public interface List
.....
}
It can be seen that the Java development document is actually in the code in accordance with the corresponding rules of the annotation, which is critical to the reader and users of the program, it can be seen that learning to write notes for a programmer is very critical, but also to reflect the level of a programmer. document and document annotation formats
Document annotations can be described in classes, methods, and propertie
The command line Syntax of javadoc is as follows:Javadoc [options] [packagenames] [sourcefiles] [@ files]Parameters can be arranged in any order. The following describes these parameters and related content:• Packagenames package list. This option can be a series of Package Names (separated by spaces), such as java. lang java. lang. reflect java. awt. However, because javadoc does not apply recursively to s
agreements.
2. Characteristic comparison
(1) Gui
NetBeans uses a pure Java development and writes a GUI in a swing library, so the interface tones are darker and are used differently from the native program. There may be some unaccustomed at first. If you use the JDK1.5.0 version of the load, its enhanced swing library will make the NetBeans interface look much more comfortable.
The Eclipse GUI is pret
"Use of the Javadoc command"In the 1.java source file, the comment starts with/** and ends with */, which can contain normal files, HTML tags, and Javadoc tags. These will form the Javadoc documentation.The 2.javadoc command can only handle comments in the Java source file that precede the class declaration, interface
Reprinted from: http://www.cnblogs.com/xt0810/p/3630996.html"Previous words."The development project uses Jenkins to do continuous integration, PMD check code, JUnit do unit testing, and automatically send email notification of compilation, will automatically send Javadoc generated documents to a dedicated server, everyone can see, So I have to do a good study of Javadoc, others can see also beautiful."Basi
The first is the demo of a simple Javadoc usage:1. Create a normal Java ProjectThe root path of the project source code is E:\ANDROIDWORKSPACE\JAVADOC\SRCProject structure: Project Source:Net.qingtian.doc.Teacher :Package net.qingtian.doc;/** * Teacher * * @author sunny day * @see net.qingtian.doc.aa#st Udent Reference * */public class Teacher {/** * gender */public String sex;/** * Show gender */public
dependent on pom. xml.
The second command is to download the corresponding javadocs
2: Add a configuration fileOpen the maven configuration file setting. xml (MAVEN_HOME/conf/settings. xml) and add the following Configuration:
3: Configure eclipseWindow> Preferences> Maven and checking the "Download Artifact Sources" and "Download Artifact JavaDoc" options. As follows:
After configuring these three steps, you can download the corresponding source fi
Directory
ObjectiveA. Java documentation and JavadocTwo. Format of document annotations1. Formatting of document annotations2. Three parts of documentation commentsThree. Use Javadoc tags1. Use of @see2. Use @author, @version description class3. Use of @param, @return and @exception description methodFour. Javadoc command
Preface
Java syntax is similar to C + +, so you know how many Java annotations are. ar
The ADO Java language uses an integrated approach to API documentation in accordance with the Javadoc annotation convention. The Javadoc tools can help generate good API documentation, but most Java API documentation is bad. Because it's part of the source code, the API's documentation responsibility ultimately falls to the engineer. In this article, Brian criticizes the current state of Java documentation
Usually we write Java programs that may rarely write comments, but when developing projects in the company. There are usually strict document requirements. I am not talking about design or test documents, but javadoc. I always think that javadoc is easier to view than msdn, and it is not complex to write.
Javadoc is a very important tool in j2sdk. If you write co
Requirement
Recently, you have to generate a JavaDoc document for a Maven project with the following project structure.
Project| -- Pom. xml| -- Module1| '-- Pom. xml| -- Module2| '-- Pom. xml| -- Module3| -- Pom. xml
This requires the javadoc Maven plug-in to be proposed in this article.
Basic usage
The basic configuration of the plug-in is simple:
For a common Maven project, this configuration allows yo
[Against NetBeans's Blue block]
When writing a visualization module for maze solving, canvas This component has to write itself a reconditioned
Paint method, and stupid NetBeans will only generate a primitive canvas component, this group
The pieces are defined in the blue block, so I'm going to define this part of the original canvas blue
Block is covered with/**/, write an inherited canvas class rewrite Paint method, and then use it to live
into
Background: Recently learning Java Fundamentals, see the Documentation Comments section, one is to generate the API files under DOS commands, and the other is to generate API files under Eclipse. Dos in the "Crazy Java Handout" in the detailed description, Eclipse mode because usually use more, so need to summarize.1 Explanation 1.1 BasicsJavadoc is a technology provided by Oracle that extracts classes, methods, members, and other annotations from the program source code to form an API help docu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.