Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Java GUIs : Pros and Cons.  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author and iconoclast
Sheriff
Posts: 24220
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Justin Hawkins
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the insight!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!