What is the difference between AWT & Swing?

Answer Posted / vinay

this is vinay
1. swing is light weight component and awt is heavy weight
component.
2. swing components require javax.swing package where as
awt comonents require java.awt package
3. awt requres native code to execute/run but not swings
4. swing are also known as JFC's
5. swing is a look and feel component and it is purely
developed in java.

Is This Answer Correct ?    101 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of java swing?

498


What is swing framework in java?

546


How to create image slideshow in java swing?

603


Explain the difference between jfc & wfc.

560


What is sling swing?

530






Why swing is better than awt?

558


How to align components in java swing?

575


What are the features of swing in java?

509


What is the use of jcomponent class in swing?

564


What is swing api?

521


Write a program to paint the off-screen buffer in swings

551


How to change button color in java swing?

509


Is swing an api?

540


What is swing used for?

482


What is the purpose of action interface in swing?

552