[Eclipse Notes] the real advantage of SWT is not as easy as it is

Source: Internet
Author: User
Many people on the Internet often know about SWT, which means it runs fast. In fact, this is a misunderstanding. At the beginning of the birth of SWT, the running speed may be one of its main goals, but its real advantages are not so simple. What makes it truly shine is its loyalty to the host operating system, on the one hand, for users, the interface representation of their operations, including the appearance and shortcut keys, can be highly consistent with the commonly used software. On the other hand, because it directly encapsulates the features of the operating system API, you can find answers to any issues you have found on the interface or a special handling method of a control in the documents at the operating system level, rather than in the middle of SWT. This is very different from swing. Swing pursues the consistency of interfaces on all platforms, rather than the consistency of other local applications on the current platform. It gives me the feeling that swing is actually aiming at a mobile target and always on the way, because it always needs to constantly follow the changes and innovations of the operating system to change and imitate. At this point, SWT practices are indeed much better.

By the way, let's take a screenshot of eclipse in the XP style of wow World of Warcraft:

This interface style can be changed with your default XP style at any time. Isn't it a little difficult to achieve this effect and convenience if you want swing? I'm not saying SWT is omnipotent. I just want to let everyone know that swing has its advantages, and SWT also has its advantages.

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.