Difference between AWT and Swing compenents?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the differences between Swing and AWT?
What is jlabel java swing?
when we right click on the JTable using mouse it works properly but how to right click on JTable in java using keyboard what should be the code for the same.....? Thanks Nitin
What is import javax swing jframe?
What are the various components of swing?
Which package is needed for swing components?
Explain the below Statement if(ae.getSource()==b1)
What are the different types of layout managers used in swing?
What are the advantages of swing over awt?
What is jpanel in java swing with example?
Which is better swing or awt?
What is layout in java swing?