Article View: borland.public.jbuilder.java.swing
Article #586Re: Eclipse's SWT
From: Gillmer J. Derge [TeamB]
Date: Tue, 08 Mar 2005 15:07
Date: Tue, 08 Mar 2005 15:07
35 lines
2643 bytes
2643 bytes
Scott wrote: > Has any worked with Eclipse's SWT (standard widget toolkit)? > > How do you think it compares to Swing? While reading this, keep in my that I haven't used SWT and I really like Swing. My opinion is that SWT is probably fine but is overrated. The two main problems it claims to solve are speed and true native look and feel compatibility. Both of those were big problems 5 years ago, neither IMHO is a big problem today. SWT might be better in both areas, but I don't think it's "WAY better, how can you use Swing, Swing sucks, you loser," which is what some of the zealots would have you believe. I wouldn't choose SWT just on the strength of speed and native L&F arguments. I also think it loses two of the main benefits of Java/Swing. One is platform independence. Sure, SWT is available on a wide variety of platforms, but I don't think it's as wide as Swing. As you said, this is less of an issue with something internal where you have a pretty good handle on which platforms matter to you, but it still bothers me in principle. In practice it may be a non-issue. The second area is the MVC architecture. This one is debatable. I really like Swing's use of MVC and think it gives you a huge amount of flexibility. SWT advocates look at Swing and see complexity and say that SWT eliminates some of that (which is true). Which side of that fence you land on is a matter of personal preference. So I probably haven't really answered any of your questions :-), but maybe this will help you solidify whatever conclusions you're coming to on your own. -- Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<422dbfb7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<422dbc4b$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3d3b022b15c85e42 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 08 Mar 2005 10:07:38 -0500 From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Eclipse's SWT References: <422dbc4b$2@newsgroups.borland.com> In-Reply-To: <422dbc4b$2@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.149.56.230 Message-ID: <422dbfb7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110294455 24.149.56.230 (8 Mar 2005 07:07:35 -0800) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail