Difference between AWT and Swing compenents?

Answers were Sorted based on User's Feedback



Difference between AWT and Swing compenents?..

Answer / arshad ahmad

Awt is Heavy Weight Component and Swing is light Weight
component.Swing component takes less memory rather than awt
component.Swing Component look & feel is much beeter than
awt.

Is This Answer Correct ?    4 Yes 0 No

Difference between AWT and Swing compenents?..

Answer / bikas

1. Awt component is heavyweight whereas Swing is
lightweight.
2.Awt Component has platform dependent look and feel
whereas Swing has crossplatformed look and feel.

Is This Answer Correct ?    1 Yes 0 No

Difference between AWT and Swing compenents?..

Answer / narmada

Swing is a light weight component coz they dont have native resource of their own. It is based on MVC(Modal -View Controller)i.e its look and feel is independent of the hardware and OS.

AWT is a heavy weight component coz it is associated with its own resources. Since JVM helps in translating AWT calls to the appropriate OS , it is platform dependent.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Swing Interview Questions

What is import javax swing jframe?

1 Answers  


Is javafx better than swing?

1 Answers  


Is swing an api?

1 Answers  


What is java swing package?

1 Answers  


Explain the difference between swing and jsf.

1 Answers  


Is java swing deprecated?

1 Answers  


What are the features of swing in java?

1 Answers  


How to create a swing gui in java?

1 Answers  


What are the advantages of the event-delegation model over the event-inheritance model?

1 Answers  


How to move from one page to another in java swing?

1 Answers  


What is swing package in java?

1 Answers  


What are differences between swing and awt?

1 Answers  


Categories