Build a JAVA visual development environment on Eclipse

Source: Internet
Author: User
Transferred from external:

1. Download and install Eclipse

2. download and install the EMF plug-in

3. download and install the GEF plug-in

4. download and install the VE plug-in

5. Use

 

1. Download and install Eclipse

: Http://www.eclipse.org/downloads/

Select: Eclipse IDE for Java Developer for download

Eclipse installation and common application installation types are not mentioned.

 

2. download and install the EMF plug-in.

: Http://www.eclipse.org/modeling/emf/downloads? Project = emf

Download the package and save it to any local directory.

Installation:

(1) Open Eclipse and select [Help]-> [Install New Software] in the main menu. The [Install] dialog box is displayed.

(2) In the [Install] dialog box, click the [Add] button to bring up the [Add Repository] dialog box.

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

(4) In this case, the [Install] dialog box is as follows. Check [EMF Core and mdt xsd], activate the [Next] button at the bottom, and click [Next.

Note: If the following error is prompted after you click [Next], download an old or new version of EMF. Because you are not familiar with the functions of each plug-in, 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 (PVDF) target 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 soft'

(5) Click [Next] in step (4). Switch to [Install Detials] and click [Next].

(6) switch to [Review Licenses], select any node in the LIcenses list on the left, and select [I accept the terms of the license agreement] in the lower right corner. click [Finish] to complete the installation. After the installation is complete, follow the prompts to re-open Eclipse.

 

 

3. download and install the GEF plug-in and return

: Http://www.eclipse.org/gef/downloads/

The installation method is the same as that of EMF.

 

4. download and install the VE plug-in.

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

The installation method is the same as that of EMF and can be installed online. For more information, see the online install section in http://wiki.eclipse.org/ve/update.

 

5. Use return

After the installation is complete, follow these steps to use the visual interface:

Note: Please create a Java project first. It is not much to say about how to create it.

In Eclipse, select [File]-> [New]-> [Other] to bring up the [New] dialog box. In the navigation tree, select [Java]-[Visual Class]. click [Next]

The [New Java Visual Class] dialog box is displayed. Select [Source folder] and [Package], and enter the Name in [Name, under [Style], select [Swing]-> [Frame] and click [Finish] to complete the creation.

 

After the class is created, the page displays the newly created class:

To add a component to the Frame, click the button in the lower-left corner of the Eclipse interface and select [Other] From the shortcut menu. In the displayed [Show view, find Palette in the navigation tree and click [OK].

In this case, you can see that [Palette] is displayed on the left side of the interface and drag the component to the Frame.

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.