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 swing and awt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "swing and awt" Watch "swing and awt" New topic

swing and awt

Smitha Prasad
Ranch Hand

Joined: Apr 02, 2002
Posts: 41
what is the difference between swing and awt?
Dirk Mohr

Joined: Sep 28, 2001
Posts: 12
The main difference between awt and swing is, that awt uses native methods of the OS to display GUI-components whereas swing draws most of the components by itself.
Regards, Dirk
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Brother Dirk has already explained a main difference between the two. Sun's Overview of the Swing API explains some more differences.
Good Luck.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Smitha Prasad
Ranch Hand

Joined: Apr 02, 2002
Posts: 41
hey dirk and dirk... thanks!
I agree. Here's the link:
subject: swing and awt
It's not a secret anymore!