Build a JAVA visual development environment on Eclipse __java

Source: Internet
Author: User

The following steps are required to build a Java visual Open environment:

1. Download and install Eclipse

2. Download and install EMF plugin

3. Download and install GEF plugin

4, download install VE plugin

5. Use

1. Download and install Eclipse return

Download Address: http://www.eclipse.org/downloads/

Selection: Eclipse IDE for Java developer download

Eclipse installation and the usual type of application installation are not much to say.

2. Download and install EMF plugin return

Download Address: HTTP://WWW.ECLIPSE.ORG/MODELING/EMF/DOWNLOADS/?PROJECT=EMF

Save to any local directory after downloading.

Installation:

(1) Open Eclipse, select the [Help]->[install New Software] option of the main menu, and eject the [Install] dialog box.

(2) Click the [Add] button in the [Install] dialog box to eject the [Add Repository] Dialog

(3) in the [Add Repository] dialog, enter EMF in [Name], click the button [Archive], pop the [Repository Archive] File to open the dialog box, select the local storage path of the EMF installation package, click [Open], and return to the [Archive] dialog box. In the [Archive] dialog box, click OK to return to the [Install] dialog box.

(4) At this point, the [Install] dialog is as follows, tick [EMF Core and MDT XSD], and then the [Next] button below is activated, and the [next] button is clicked.

Note: If you are prompted with the following error after clicking [Next], please download an old or new version of EMF again. Because the function of each plug-in is unfamiliar, it is not recommended to check some plug-ins to continue installation.

The following software cannot be installed because it is intended for use only in Plug-in Development environment (PDE) TA Rget platforms. Please deselect these items and retry the operation.
Source for EMF RAP Runtime 2.6.1.v20100914-1218 (Org.eclipse.emf.rap.source.feature.group 2.6.1.v20100914-1218)
If provisioning a target platform then try disabling the option ' Include required software '

(5) After clicking [Next] in step (4), the interface switches to [Install detials], and continues clicking [Next]

(6) The interface switch to [Review Licenses], select any node under the left Licenses list, and then tick the [I accept terms license] at the bottom right and click Finish to complete the installation. When the installation is complete, reopen eclipse as prompted.

3. Download and install the GEF plugin return

Download Address: http://www.eclipse.org/gef/downloads/

Installed in the same way as EMF.

4. Download Install VE plugin return

Download Address: http://www.eclipse.org/vep/downloads/or Http://wiki.eclipse.org/VE/Update

Installation mode and EMF are the same, can also be installed online, specific methods can refer to the Http://wiki.eclipse.org/VE/Update in the Install section of the introduction.

5. Use return

After the installation is complete, use the visual interface as follows:

Note: Please create a Java Project project on your own, and how to create it is not much to say, everyone should be.

In Eclipse, select [File]->[new]->[other], pop the [New] dialog box, select [Java]-[visual Class] in the navigation tree, and click [Next]

Pop the New Java Visual Class dialog box, select Source folder and [Package], and then enter a name in [name], select [Swing]->[frame] under [Style], and then click Finish Complete the creation.

When the creation is complete, the interface displays the newly created class:

When you need to add a component to a frame, click the button in the lower-left corner of the Eclipse interface, select [Other] from the pop-up shortcut menu, in the pop-up show view, locate the palette in the navigation tree, and then click OK.

At this point, you can see [Palette] displayed on the left side of the interface and drag the component directly into the frame.

Return

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.