Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java

 
sarang bezalwar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me which one is better awt or swing
 
Shama Khan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't tell you which one is better but I do know that there were many issues in development with AWT and SWING is supposed to have made it all better. Furthermore, I think Sun is pushing the use of SWING when building new application.
I would use Swing for any new application.
 
Peter Lyons
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On this matter I found an article on heavy vs. lightweight components on java.sun.com. This helped clear up my thinking on Swing and AWT. http://www.java.sun.com/products/jfc/tsc/articles/mixing/index.html
I think Shama's advice is good in on which to use in new development.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic