What is the difference between AWT & Swing?

Answer Posted / chamil dias

AWT components use native methods whereas Swing components
use the methods that are written in Java.
AWT components are Heavy weight and Swing components are
Light weight.
Awt is not platform independent where as swing is platform
independent

Is This Answer Correct ?    40 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of transferhandler class?

551


What is awt and swing?

539


What is swing control in java?

539


What is difference between awt and swing?

563


Where is java swing used?

576






Why are swing components called lightweight components?

473


Explain the difference between swing and jsf.

608


What are the swing components in java?

499


Explain the difference between jfc & wfc.

558


What is event in java swing?

505


What are swing controls?

521


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 container in java swing?

526


How is parsing html used in swing?

551


What is swing and awt in java?

509