What is the difference between AWT & Swing?
Answer Posted / rananjai maurya
1--Swing is light weight component and awt is heavy weight component, heavy weight are those which are os dependent.
2--swing is also called as JFC(java foundation classes)and awt stands for abstract window toolkit.
3--swings component require javax.swing package where as awt component require java.awt.
4--A swing has extra component like table tree optionpanel with the class named JTree,JTable,JOption Pane etc.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the mean of swing?
What is content pane in swing?
What are the benefits of swing over awt?
What are the swing components?
What is swing used for?
What is the difference between a scrollbar and a jscrollpane ?
What are the components of swing?
What is container in java swing?
Why is model-view-controller architecture used in swing?
Which method is used for setting security in applets?
What is the function of internal frame in swing?
What is the base class for all swing components?
What is jpanel in java swing with example?
What are the advantages of java swing over angular?
What are the different types of layout managers used in swing?