Results 1 to 2 of 2
- 12-31-2008, 11:08 AM #1
- 12-31-2008, 07:12 PM #2Member
- Join Date
- Dec 2008
- Rep Power
Swing vs. SWT
There is a good article at: developer.com/java/other/article.php/10936_2179061_1
Basically Swing came first and it was written by Sun. Every widget is emulated, ie. not native OS code. The first few versions were not very fast and sometimes didn't match the look and feel of the OS. IBM came along with Eclipse and wanted a faster, more native looking set of widgets and they came up with SWT. They also emulate widgets when not available on the OS like Tree or Table widgets. In the meantime Sun continued to improve Swing and there are many arguments as to which is better.
IMHO Swing is much richer and easier to use, but if you are writing plugins for Eclipse or absolutely need the speed advantage, you'll need to use SWT. The API's are similar but different enough to cause a fairly steep learning curve when switching between the two. Swing does have more features than SWT and is my preferred choice.
- By winkodes in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 03-18-2009, 02:21 PM
- By nishant in forum New To JavaReplies: 2Last Post: 09-17-2008, 06:04 PM
- By islamfunny in forum CLDC and MIDPReplies: 6Last Post: 08-14-2008, 07:12 AM
- By barney in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 08-07-2007, 07:15 AM
- By mrark in forum New To JavaReplies: 1Last Post: 06-27-2007, 05:23 PM