File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is SWT worth learning *instead of* Swing?

 
Nigel Skeffington
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks,
Nigel
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Glenn Castro
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that learning Swing will be beneficial in addition to SWT.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learn Swing first followed by SWT, you will then be able to appreciate SWT.
 
Jan Rotthaus
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Jan
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Nigel Skeffington
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

-Nigel
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic