
Signature
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
claus.kick@googlemail.com wrote:
>> And where is the SWT community hiding? :)
> The first rule of SWT is not to talk about SWT,
'cuz they're embarrassed?
> so I'm encrypting these links with rot-13, twice.
That was unbelievably clever.
> <http://stackoverflow.com/questions/tagged/swt>
> <http://www.eclipsezone.com/eclipse/forums/f18120.html>
> <http://www.java-tips.org/other-api-tips/eclipse/how-to-validate-swt-text-control
s.html>
And just to start a flame war (perhaps we should shift to a new thread for
this?), what are the advantages and disadvantages of SWT wrt Swing?
I confess I've never even looked at an SWT tutorial or Javadocs, much less
used it.

Signature
Lew
John B. Matthews - 11 Feb 2010 02:48 GMT
> And just to start a flame war (perhaps we should shift to a new
> thread for this?), what are the advantages and disadvantages of SWT
> wrt Swing?
>
> I confess I've never even looked at an SWT tutorial or Javadocs, much
> less used it.
This is an interesting question that deserves a more thorough answer,
but I have a few observations.
I've used two of the premier exemplars of each technology, NetsBeans &
Eclipse, for several years. As they have evolved, I can't help but think
that each is better for having competed against the other.
When I came to the project cited above, ca. 2003, it was to add command
line functionality. I knew almost nothing about either SWT or Swing.
Since then I've patched a few SWT bugs, but it seemed laborious. In
contrast, I enjoy using Swing, and I've learned a lot from it's design.
Two factors seem to have made a critical difference: First, Swing enjoys
a comprehensive and frequently updated tutorial. Second, numerous
participants in clj have generously answered my questions and amplified
on my own tyro responses.

Signature
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
RedGrittyBrick - 12 Feb 2010 12:05 GMT
> And just to start a flame war (perhaps we should shift to a new thread
> for this?), what are the advantages and disadvantages of SWT wrt Swing?
>
> I confess I've never even looked at an SWT tutorial or Javadocs, much
> less used it.
Way back before I started using Swing, I did briefly consider SWT. The
main advantage of SWT seemed to be that the L&F was much more like the
platform native L&F. Initially this was very attractive as the default
Swing L&F stuck out like a sore thumb. Pluggable L&Fs seems to have
largely eliminated this advantage for SWT, at least for mundane apps.
The main downside of SWT seemed to me to be portability to other
platforms. It also gradually became apparent to me that there was a much
more active community for Swing than for SWT.
Since I haven't actually used SWT, my reasons for staying with Swing are
mainly community support, inertia and a lack of knowledge of any
significant benefits to changing to SWT.