Eclipse provides three GUI extensions for visual GUI development

Source: Internet
Author: User
Tags parse error netbeans
Document directory
  • 1. Visual Editor
  • 2. SWT-Designer
  • 3. jigloo
  • 1. Visual Editor
  • 2. SWT-Designer
  • 3. jigloo

From http://www.cnblogs.com/NationWoo/archive/2011/05/31/2065176.html

Eclipse does not provide GUI visual development tools. If you want to implement visual GUI development in Eclipse, You need to rely on third-party plug-ins.

1. Visual Editor

Eclipse officially provides an open-source GUI plug-in called Visual Editor (VE) with powerful functions. You can automatically generate corresponding JAVA code based on the GUI Design. You can also use the corresponding JAVA code to generate a visual GUI editing interface that matches the code. However, VE has many disadvantages. I have been using VE since 3.1 and 3.2, but it has not changed much. VE simulates the class that runs the GUI by starting another JVM, and then generates a visual effect in the Eclipse interface.

Looking back at Visual C, NetBeans, and other ide gui visualization methods, they manage resource files based on another interface and can be directly modified by non-users. Directly managing visual GUI editors through program code requires strong code parse capabilities. It is a pity that VE cannot do this.

There are many problems with using VE. Some online users directly commented that VE is "not available ". I feel like the problem lies in the following aspects:

1). In addition, it is slow to start JVM. If you want to open several Visual classes at the same time, you need to start several JVMs, which consumes a lot of memory. In addition, when a Visual Class is opened repeatedly, the JVM cannot be started.

2). The parse capability for visual Java code edited by users is weak. A common error is that the GUI code is visualized correctly. However, if the window in VE is opened for half a day, only one cross is displayed. In many cases, a complete visual window cannot be displayed at all. However, the positioning capability of a widget in the window is not strong, and the user's code is slightly bent, VE does not know where the control is generated, and at most it can only be displayed, but cannot be edited visually.

4). The Code edited by VE 3.1 is included in VE 3.2, and it is completely different.

5) installation is troublesome. You need to install more than one auxiliary plug-in on your own.

To sum up, VE is "not available"

2. SWT-Designer

SWT-Designer is widely recognized as the most powerful plug-in for GUI development in Eclipse: http://www.swt-designer.com /. Many Eclipse books use SWT-Designer to explain how to develop GUI programs in Eclipse. However, SWT-Designer is a paid plug-in. The basic version is free of charge and features are greatly restricted. Of course, there is also a full version of the cracked version on the Internet. SWT-Designer is relatively large, and the latest 6.0 installation file contains dozens of MB, which can be considered powerful.

3. jigloo

Jigloo charges fees in a strict sense, but it provides the non_commercial version, which features exactly the same as the commercial version at http://www.cloudgarden.com/jigloo /. Personal development is unrestricted. Jigloo is very small, the latest version is more than 3 MB, and the installation is relatively simple.

Jigloo supports both SWT and Swing.

Jigloo is completely based on Java code, but its code parse is far better than VE and faster. At least a lot of problems have occurred in VE. The Visual Class that cannot be displayed can be edited well under jigloo. So far, no jigloo can be edited, and a parse error occurs. Jigloo can also integrate the support of a well-written Java GUI-style code, which is more powerful than VE.

Of course, the plug-in with more than 3 MB is better than the full version of SWT-Designer, but it is much better than the basic version. SWT-Designer is not fully developed based on JAVA, for example, in Windows, it also carries dll files. Jigloo is fully developed based on JAVA. It downloads only one class zip file and supports online installation of Eclipse.

Ii. Installation and Use of jigloo

Jigloo is easy to install. Just like other Eclipse plug-ins, you don't need any installation programs. Just extract them.

Create a New window and enter File> New> Others> GUI Forms.

To Open an existing Visual Class, right-click it and select Open With-> Form Editor. First, code parse is required. However, this speed is very fast and a JVM does not need to be started like VE.

The following figure shows how jigloo is used in Eclipse:

Iii. Summary

According to the three major Eclipse GUI development plug-ins, basically all are based on Java code GUI editing management. This type of editor management, of course, is much more difficult to manage Windows interface programs than previously in Visual C. However, many existing IDES, such as Visual Studio. NET and 2005, can still be done quickly. It mainly depends on the code parsing capability.

The shortcomings of VE have been summarized many times. I don't know when this official plug-in will be truly reassuring. As a developer, I still want to work hard on VE. After all, VE is open-source and can be used at will.

SWT-Designer features the most powerful, but the price is not low. Jigloo is between the two. For individual developers, jigloo can be used for free, and its functions are sufficient to develop a variety of large-scale GUI applications. Therefore, jigloo is a suitable choice.

Eclipse does not provide GUI visual development tools. If you want to implement visual GUI development in Eclipse, You need to rely on third-party plug-ins.

1. Visual Editor

Eclipse officially provides an open-source GUI plug-in called Visual Editor (VE) with powerful functions. You can automatically generate corresponding JAVA code based on the GUI Design. You can also use the corresponding JAVA code to generate a visual GUI editing interface that matches the code. However, VE has many disadvantages. I have been using VE since 3.1 and 3.2, but it has not changed much. VE simulates the class that runs the GUI by starting another JVM, and then generates a visual effect in the Eclipse interface.

Looking back at Visual C, NetBeans, and other ide gui visualization methods, they manage resource files based on another interface and can be directly modified by non-users. Directly managing visual GUI editors through program code requires strong code parse capabilities. It is a pity that VE cannot do this.

There are many problems with using VE. Some online users directly commented that VE is "not available ". I feel like the problem lies in the following aspects:

1). In addition, it is slow to start JVM. If you want to open several Visual classes at the same time, you need to start several JVMs, which consumes a lot of memory. In addition, when a Visual Class is opened repeatedly, the JVM cannot be started.

2). The parse capability for visual Java code edited by users is weak. A common error is that the GUI code is visualized correctly. However, if the window in VE is opened for half a day, only one cross is displayed. In many cases, a complete visual window cannot be displayed at all. However, the positioning capability of a widget in the window is not strong, and the user's code is slightly bent, VE does not know where the control is generated, and at most it can only be displayed, but cannot be edited visually.

4). The Code edited by VE 3.1 is included in VE 3.2, and it is completely different.

5) installation is troublesome. You need to install more than one auxiliary plug-in on your own.

To sum up, VE is "not available"

2. SWT-Designer

SWT-Designer is widely recognized as the most powerful plug-in for GUI development in Eclipse: http://www.swt-designer.com /. Many Eclipse books use SWT-Designer to explain how to develop GUI programs in Eclipse. However, SWT-Designer is a paid plug-in. The basic version is free of charge and features are greatly restricted. Of course, there is also a full version of the cracked version on the Internet. SWT-Designer is relatively large, and the latest 6.0 installation file contains dozens of MB, which can be considered powerful.

3. jigloo

Jigloo charges fees in a strict sense, but it provides the non_commercial version, which features exactly the same as the commercial version at http://www.cloudgarden.com/jigloo /. Personal development is unrestricted. Jigloo is very small, the latest version is more than 3 MB, and the installation is relatively simple.

Jigloo supports both SWT and Swing.

Jigloo is completely based on Java code, but its code parse is far better than VE and faster. At least a lot of problems have occurred in VE. The Visual Class that cannot be displayed can be edited well under jigloo. So far, no jigloo can be edited, and a parse error occurs. Jigloo can also integrate the support of a well-written Java GUI-style code, which is more powerful than VE.

Of course, the plug-in with more than 3 MB is better than the full version of SWT-Designer, but it is much better than the basic version. SWT-Designer is not fully developed based on JAVA, for example, in Windows, it also carries dll files. Jigloo is fully developed based on JAVA. It downloads only one class zip file and supports online installation of Eclipse.

Ii. Installation and Use of jigloo

Jigloo is easy to install. Just like other Eclipse plug-ins, you don't need any installation programs. Just extract them.

Create a New window and enter File> New> Others> GUI Forms.

To Open an existing Visual Class, right-click it and select Open With-> Form Editor. First, code parse is required. However, this speed is very fast and a JVM does not need to be started like VE.

The following figure shows how jigloo is used in Eclipse:

Iii. Summary

According to the three major Eclipse GUI development plug-ins, basically all are based on Java code GUI editing management. This type of editor management, of course, is much more difficult to manage Windows interface programs than previously in Visual C. However, many existing IDES, such as Visual Studio. NET and 2005, can still be done quickly. It mainly depends on the code parsing capability.

The shortcomings of VE have been summarized many times. I don't know when this official plug-in will be truly reassuring. As a developer, I still want to work hard on VE. After all, VE is open-source and can be used at will.

SWT-Designer features the most powerful, but the price is not low. Jigloo is between the two. For individual developers, jigloo can be used for free, and its functions are sufficient to develop a variety of large-scale GUI applications. Therefore, jigloo is a suitable choice.

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.