<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Scott@JAVA

    Java, 一杯濃濃的咖啡伴你到深夜

    SWT, Swing or AWT: Which is right for you?

    A look at AWT

    Abstract Windows Toolkit (AWT) is the original Java GUI tool kit. AWT's main advantages are that it comes standard with every version of Java technology, including Java implementations in old Web browsers, and it is very stable. This means you do not need to install it, you can depend on it being available everywhere you find a Java runtime environment, and it will have the features you expect.


    A look at Swing

    Java Swing, also known as a part of the Java Foundation Classes (JFC), was an attempt to solve most of AWT's shortcomings. In Swing, Sun created a very well-engineered, flexible, powerful GUI tool kit. Unfortunately, this means Swing takes time to learn, and it is sometimes too complex for common situations.


    A look at SWT

    SWT is a low-level GUI tool kit comparable in concept to AWT. JFace is a set of enhanced components and utility services to make building GUIs with SWT easier. The builders of SWT learned from the AWT and Swing implementations and tried to build a system that had the advantages of both without their disadvantages. In many ways, they succeeded.


    Conclusion

    In most cases, the decision is between Swing and SWT combined with JFace. In general, each of these tool kits is complete and powerful enough to build full-function GUIs, but Swing is generally superior to SWT alone (used without JFace). Swing has the advantage of being built into Java technology, is completely portable, and arguably has a better architecture. Swing also has the advantage for advanced graphical applications. SWT has the advantage of being implemented as a native application which increases the performance and native compatibility of SWT-based GUIs.

    If you are developing only for one platform, SWT has an advantage in host compatibility, including integration with host features, such as use of ActiveX controls under Windows.


    The original (full version) article: http://www-128.ibm.com/developerworks/opensource/library/os-swingswt/

    posted on 2006-02-28 19:29 Scott@JAVA 閱讀(363) 評論(0)  編輯  收藏 所屬分類: Jave SE 6

    主站蜘蛛池模板: 亚洲日韩中文字幕天堂不卡| 菠萝菠萝蜜在线免费视频| 亚洲成人动漫在线观看| 国产婷婷成人久久Av免费高清| 无码av免费毛片一区二区| 亚洲人成电影在线播放| 亚洲fuli在线观看| 中国内地毛片免费高清| 免费看的黄色大片| 久久久久久久亚洲Av无码| 青青草97国产精品免费观看| 无码人妻一区二区三区免费手机| 国产亚洲AV手机在线观看| 自拍偷区亚洲国内自拍| 99精品视频免费观看| 亚洲美女在线国产| caoporn国产精品免费| 国产精品免费播放| 亚洲精品中文字幕无乱码麻豆| 成在人线av无码免费高潮喷水| 亚洲av片一区二区三区| 国产亚洲精品影视在线| 国产精品成人无码免费| 国产精品美女免费视频观看| 亚洲精品你懂的在线观看| 一日本道a高清免费播放| 国产a级特黄的片子视频免费| 2017亚洲男人天堂一| 国产在线19禁免费观看| 久久久WWW免费人成精品| 亚洲精品无码久久不卡| 国内精品免费在线观看| 亚洲av永久无码精品天堂久久 | 亚洲网站在线观看| 国产无遮挡裸体免费视频在线观看| 亚洲国产成a人v在线| 91免费国产在线观看| 亚洲一线产区二线产区精华| 免费中文字幕不卡视频| 国产av无码专区亚洲av毛片搜| 成人爱做日本视频免费|