Using JBuilder to develop Java programs efficiently

Source: Internet
Author: User

Cow people always say: "The development of Java programs I only choose, Notepad." However, we think that if you can use Notepad to create a HelloWorld program, then in the future development of you can not use Notepad to create your application, which can only cause you a lot of trouble. The use of advanced editing tools can greatly improve the efficiency of program writing. Codeinsight and "program code Templates" are provided in jbuilder to improve the efficiency of Java program writing.

Features provided by Codeinsight:

Memberinsight: (CTRL+H) provides currently available member methods when you press a period after an object name, the Codeinsight feature of JBuilder displays a pop-up window containing the properties and methods defined by the object. We call it memberinsight. The following example shows all the methods after the output System.out. memberinsight function.

Classinsight (Ctrl + Alt + H provides all the categories accessible under the current category path), we can type the name of the class that will be used in the search for field, and all matched search results will be displayed in the matching list.

Three options are available in the dialog box:

Insert Short class name with explicit import

Inserts a short category name and an import statement that contains the full package name and the category name.

For example, insert the BorderLayout class, the Classinsight function will automatically insert the Import java.awt.BorderLayout statement.

Insert Short class name with package import

Inserts a short category name and an import statement for the package that the category belongs to.

For example, insert the BorderLayout class, the Classinsight function will automatically insert the Import java.awt.* statement.

Insert fully qualified class name

Inserts the complete category name, but does not include any import statements.

Paramete4rinsight and Memberinsight are similar.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.