Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which is Better??

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is better Swing or AWT???
Thanks in advance for your comments.
 
Jeremy Tartaglia
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my (extremely limited) experience, it depends on what you need for your application. Swing seems very well suited for medium to large programs, or programs which will be used by a large number of people, but because of its foot print, seems a little excessive for small applications, or applets. I would say decide what you need and would expect from your program and use the appropriate libraries. Then again, I have about 6 months experience with Java GUI programming, so take this with a grain of salt.
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing. I don't think there's really any reason to use awt anymore unless you have to !!
 
Jason Steele
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hands down...Swing.
Got Swing?
 
Jason Steele
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add to my previous reply...I have to say that a large majority of net users may not have the proper java version installed to run swing applets adequately. So, If you are designing an application, Swing. If you are designing a web applet, AWT or let the user know they must update their version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic