Use of the Java Development Environment Eclipse (module code folding, visual development plug-ins, build jar Plug-ins)

Source: Internet
Author: User
Tags rar

1. Modular Code Folding

Description: vs #region and #endregion Modular code folding used to think that the world IDE should have this function

/files/binbin1987/code folding. RAR (Follow the textual instructions here to get ready for work)

Follow the instructions in the previous document and go to the preferences--java--editor--collapse

Select Last User customization

After the setting is successful, use:

[Start]

..//code for ....//Codes

[end]

2. Visual development

Visual Plug-ins larger, this network up and down bar

Http://www.baidu.com/s?ie=gb2312&bs=coffee+bytes%B4%FA%C2%EB%D5%DB%B5%FE&sr=&z=&cl=3&f=8 &wd=eclipse%bf%c9%ca%d3%bb%af%b2%e5%bc%fe&ct=0

1 Create a new project File->new->project the Project Wizard, select Java Project. ->next Enter Project Name:myproject, Eclipse automatically builds a workspace working folder for you, and your project exists here.

2 A new project has been built. Add SWT ToolKit, menu project->properties Select Java Build Path to the left and Libraries tab on the right, click the Add Library button and select Standard Widget Toolkit (swt) Click Next to select the Include support for JFace library end. This allows the SWT JFace control to be used.

3 Select your project MyProject. Select the New Icon button, select Visual Class in the bottom others, click Next, Source folder is the default project folder, package fill in Chenyabi, Name fill in Hello, expand left The side of SWT selects the Shell, which is checked on public static void main (string[] args) and ends.

Add a file with more Visual Class

File Open with a Visual editer

3. Packaging Jar Plugin

/files/binbin1987/generates JAR Plug-ins. rar

Follow the steps inside, and when you're done, the item will have a buid fat jar on the right button.

Click the Post popup page

Jar-name for Output executable file name (output path is the project root directory)

Main-class is the class for the program entry main

The above two correct fill in after the point is done ...

From[http://www.cnblogs.com/binbin1987/archive/2009/06/18/1506023.html]

Related Article

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.