File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Is SWT worth learning *instead of* Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is SWT worth learning *instead of* Swing?" Watch "Is SWT worth learning *instead of* Swing?" New topic

Is SWT worth learning *instead of* Swing?

Nigel Skeffington

Joined: Mar 20, 2004
Posts: 7
I'm relatively new to Java, but not programming in general. I really like the look and feel of SWT apps over Swing. So my question is, should I learn swing at all, or should I just learn SWT right out of the box? As a newbie to Java, would the book be worthwhile?

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
My suggestion is that if you are going to work in desktop application field like crazy, then it's better to study SWT which is better in performance and so on... But if you just need to learn the concept of GUI and have no plan to earn your life as a desktop application developer, then why bother to study handy SWT?

As for me, I used to like Swing before and a part of my life had been spent as a Swing developer... I am not that sure for the future projects for me... That's why I consider to learn SWT...

Just my 2 cents...

Co-author of SCMAD Exam Guide, Author of JMADPlus
Glenn Castro
Ranch Hand

Joined: Aug 24, 2003
Posts: 78
I think that learning Swing will be beneficial in addition to SWT.

Glenn Castro<br />Sun Certified Web Component Developer
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Learn Swing first followed by SWT, you will then be able to appreciate SWT.

Jan Rotthaus
Ranch Hand

Joined: Jun 23, 2004
Posts: 56
I generally think, that you have to know (at least the main concepts of) different technologies to choose the one that fits your needs. So hava a look at Swing first (just a brief overview) an go on with SWT afterwards.


SCJP 1.4, SCJD, SCBCD 1.3, SCMAD 1.0
OCUP Fundamental
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I am obliged to note that it is certainly possible to create well-performing GUIs using the standard Swing API. See here and here for some tips, and the Grand Canyon demo for proof (or IntelliJ IDEA, of course).

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Nigel Skeffington

Joined: Mar 20, 2004
Posts: 7
Thanks for the replies. I'll continue to learn Swing; after all, I did just buy the O'Reilly book "Swing 2nd Edition". But I think I'll also learn as much SWT/JFace as I can.

Why is it so hard to find information on SWT/JFace on the internet? Does anyone have a link to the SWT/JFace API reference as a separete download, like Sun's Java API and other than a PDF?

I agree. Here's the link:
subject: Is SWT worth learning *instead of* Swing?
jQuery in Action, 3rd edition