Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

which library better for faster java application swt or swing?

Tags:

java

swing

swt

which library better for faster java application swt or swing?

like image 294
alsadk Avatar asked Oct 12 '08 20:10

alsadk


1 Answers

Today, both frameworks are fast. I suggest to check these criteria:

  1. SWT is more simple to use than Swing (especially if this is your first UI)
  2. Swing is older and you can find more components
  3. If you also use JFace, you will find many powerful widgets that work out of the box (where you would need a lot of additional configuration in Swing).
  4. Swing is available anywhere, SWT is not
  5. SWT is developed actively, you have the source and bugs are fixed quickly. Swing hasn't been touched in years, then there was suddenly a big update for Java 6. If you have an issue with Swing, well, Sun probably doesn't care.
  6. If you choose Swing, use a framework like SwingX. This will make your life much more simple.
like image 63
Aaron Digulla Avatar answered Oct 29 '22 11:10

Aaron Digulla