SWT and Swing in the News, Again.Saturday, April 30, 2005It seams that the SWT vs. Swing is back in the news. Maybe it has never gone away but I have simply not noticed it as most of my work in the last year has either been doing packet inspection with C or simple scripting - aka no significant Java work. On the Thought: Gosling on SWT, "...Gosling says AWT == SWT. That's sort of true but less true than more. The big difference between the two is AWT is very much least-common-denominator across all platforms. SWT isn't. The other significant difference is AWT chose to hide the emulation layer in C. In other words, java.awt.Button is the same on all platforms, while the native peer differs on each platform. One of the consequences of this is porting is harder, some things are in Java, some aren't. It also makes for a larger footprint because a java.awt.Button has fields for it's size, bounds, etc that the OS also has...." It seams that the primary argument against Swing is that it is slow and not true to its host platform. It also seams that the primary strength of SWT is also its weakness as it has to maintain multiple native implementations for the same functionality. I came across an interesting article in OS News on a "SWT vs. Swing" which seams worth the read. "...over the relative merits of SWT and Swing." Of course you may want to see the OS news comments on the topic. I suspect I will be finding this topic of more interest if and when I start working on Java-based GUI applications more. I happen to like both Eclipse and NetBeans as Java development environments; even though gvim also works. Of course QT is also very impressive and may not be a bad choice at all for building cross-platform software which targets Windows, Mac, and BSD/Linux.
Posted by Frank Rietta at
11:42 PM
|
"Whenever you find a man who says he doesn't believe in a
real Right and Wrong, you will find the same man going back on this a moment later."
Recent Posts
ArchivesApril 2005 / May 2005 / June 2005 / July 2005 / August 2005 / November 2005 / April 2006 / June 2006 / August 2006 / September 2006 / November 2006 / December 2006 / January 2007 / January 2008 /
About MeI am a software developer who has been marketing on the internet since 1999. I hold an MS in Information Security from the Georgia Institute of Technology, from where I previously earned a BS in Computer Science in 2005. I ran an Atlanta-based web hosting business from 1999 until I sold it in 2005. |
Home | Product List | Privacy | Contact