File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java" Watch "java" New topic


sarang bezalwar

Joined: Oct 30, 2000
Posts: 5
can anyone tell me which one is better awt or swing
Shama Khan
Ranch Hand

Joined: Aug 14, 2000
Posts: 185
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

Joined: Sep 12, 2000
Posts: 202
On this matter I found an article on heavy vs. lightweight components on This helped clear up my thinking on Swing and AWT.
I think Shama's advice is good in on which to use in new development.
I agree. Here's the link:
subject: java
It's not a secret anymore!