aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Which is Better?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Which is Better??" Watch "Which is Better??" New topic
Author

Which is Better??

Atrus Greyor
Ranch Hand

Joined: Mar 07, 2004
Posts: 110
Which is better Swing or AWT???
Thanks in advance for your comments.
Jeremy Tartaglia
Ranch Hand

Joined: Mar 11, 2004
Posts: 62
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

Joined: Dec 12, 2002
Posts: 580
Swing. I don't think there's really any reason to use awt anymore unless you have to !!
Jason Steele
Ranch Hand

Joined: Apr 25, 2003
Posts: 100
Hands down...Swing.
Got Swing?


An egg is a chicken's house!
Jason Steele
Ranch Hand

Joined: Apr 25, 2003
Posts: 100
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Which is Better??