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.