Whether your project is using swing technology or not, I would say that swing is a well-designed Java package that is filled with the wisdom of the master. If you learn Java and you can't write a button, it's just as if you're learning Visual Basic and you don't use a button, which is absolutely unforgivable. Swing technology has been used in foreign countries, because of the free Java, easy to learn and the full trust of Java technology, a lot of companies early on the application of everything, from the backstage service to the front desk man-machine interface, all moved to the Java development. Swing has been there for almost 10 years, and with its advanced design ideas, it has never lagged behind the interface development technology of any language, and the use and understanding of swing's design ideas has been of great benefit to software developers.
Swing's design is an example of MVC. Although the concept of MVC is a bit rampant, it is not uncommon to be able to understand and master it naturally in design and development. Remember to use VC + + Development Program, MFC Wizard is also generated document and view two classes, it has been strange why so around the circle. Looking at Swing's design, it's full of MVC traces. It is an art, full of beauty, to study the mechanism of event monitoring, model-view separation, renderer/editor mechanism and pluggable lookandfeel in swing. And if you really hate these designs and think they're weird, it's likely that you've just turned from VB or Delphi, and these rapid development tools have helped you "kill" you.
Swing is a good design, but perhaps an over-academic design makes swing less nimble and harder to learn. This objectively does make swing not widely used, and is widely criticized. Remember when "Swing has a successful application?" "Posts like that have always been a hot topic. IBM and others took the opportunity to seize the pigtail to get the SWT attracted a lot of people, so that Java GUI technology is facing the risk of fragmentation.
But with the upgrading and optimization of Java, Swing's speed has been improving, aesthetics is improving, and swing-based applications have become more successful. There is less debate about whether swing is extinct or is being replaced by SWT or whether it can be used for desktop applications. But developers who like and are proficient in swing technology, especially at home, are still very few.
Fortunately the situation is turning well. Sun is aware of the threat of Eclipse and SWT, and has made great efforts to develop NetBeans, whose latest version supports the swing GUI design beyond all rivals, and its rich client framework matures, This is a big boost for swing's development and application. With the decline of the web craze, people have begun to think rationally about the choice of B/s architecture and some domain swing technology has become the preferred solution. With the emergence of excellent swing products such as jgoodies, Jide, and Twaver, swing is gaining popularity in desktop applications at a faster pace.
more details