This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Java GUIs : Pros and Cons. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java GUIs : Pros and Cons." Watch "Java GUIs : Pros and Cons." New topic
Author

Java GUIs : Pros and Cons.

Justin Hawkins
Greenhorn

Joined: Jun 27, 2007
Posts: 2
I have a question in regards to GUI development in Java. Out of Swing, JFace, and SWT: Which is better for GUI development in Java and why(in your opinion)?

Due to my last programming course, I was required to do my GUIs in SWT. I'm just curious about the other options.

Thanks!

- Justin
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi Justin,

Welcome to JavaRanch!

SWT and JFace go together, like the AWT and Swing go together. Since JFace is basically a set of SWT add-ons, it's not really meaningful to talk about it as an alternative to SWT.

So the question is whether to go with SWT or Swing. There have been endless arguments and discussions over this, but frankly, at the end of the day, there's very little difference. Given knowledgeable programmers to write the code on both sides, SWT+JFace isn't actually any faster than AWT+Swing. It doesn't actually look any better. It isn't any more or less portable.

I'd say Swing has a few (small) advantages: 1st, the pool of programmers is still larger, and 2nd, there are a few places -- like applets, for example -- where you just can't use SWT.


[Jess in Action][AskingGoodQuestions]
Justin Hawkins
Greenhorn

Joined: Jun 27, 2007
Posts: 2
Thank you for the insight!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java GUIs : Pros and Cons.
 
Similar Threads
Which GUI technology to learn
Strange GUI Coding
Favoriate Eclipse Plug-ins
SWT and swing
Swing alternatives?