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 difference between awt and swing?

567


What's java swing?

565


What are swing components?

593


What does javax swing do?

541


What is awt and swing?

543






How to add calendar in java swing using eclipse?

775


am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.

2215


What is swing components in java?

518


What is swing control in java?

544


What is frame in java swing?

537


Why would you use swingutilities.invokeandwait or swingutilities.invokelater?

548


How to print in java swing application?

505


What is content pane in swing?

520


What are the different components that are used to show a container?

538


What is java swing application?

527