Swing's are light weight component but,AWT is heavy weighted one.
To be more appropriate
Swing is pure java(i.e.,) what ever you create using swing Component will get created by java only and it is independent of Operating System(OS).On the other hand AWT uses native method to create Components for your application which makes it dependent on OS.
In case of performance,AWT wins over Swing.Because, the fact that swing is pure java which make a additional burden for the java to take care of swing components which surely affects java application performance for a bit.While,AWT Components are native methods which makes it less burden over Swing.
I recommend you not to mix both the AWT and Swing Component in your code.
Most people would use Swing because it allows you to specify a "look-and-feel." AWT components take the same look-and-feel as the operating system. For a user interface the slowest component of the process is the hand-to-mouse or hand-to-keyboard motion!
AWT often looks more bland, but more important, it lacks native (i.e. Sun provided) support for more advanced controls such as tables and trees. On the other hand, (nearly) every AWT control has a matching class in Swing, often using the same name but with a "J" in front of it. One notable exception is Choice vs JComboBox.
Is is true though that applets can only be made with awt and not SWING?
or applets can be made through SWIng as well.
Can anyone please send me a some small and good tutorial for Swing. I looked at the tutorial from sun at SUN's Swing Tutorial and they mostly tell us how to add gui using net beans. Not too much code especially for listeners..