不是不能混用,是最好不要混用,混用了容易出问题。
这东西三言两语是说不清楚的。
给你看一个混用的例子图示:
http://outinn.myrice.com/book/swing/img/001.gif
那篇文章在:http://outinn.myrice.com/book/swing/swing01.htm,不过好像示例代码贴错了。
这东西三言两语是说不清楚的。
给你看一个混用的例子图示:
http://outinn.myrice.com/book/swing/img/001.gif
那篇文章在:http://outinn.myrice.com/book/swing/swing01.htm,不过好像示例代码贴错了。
AWT 和 SWT 是不同的, SWT 的相关内容可去 www.Eclipse.org 看看
http://www.infoworld.com/article/05/03/28/13TCjava_1.html
Four Java IDEs duke it out
这篇文章指出,四种Java IDE(Borland JBuilder, IBM Rational Software Architect, Oracle JDeveloper, and Sun Java Studio Enterprise 7)里边,基于SWT的IBM Rational Software Architect是最慢的,JDeveloper是最快的。所以使用SWT并不会明显提高Java应用程序的性能。