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 java swing package?
Which method is used for setting security in applets?
What method is used to specify a container's layout?
Which is better swing or awt?
What is the use of jfc in java swing?
Can a class be it?s own event handler? Explain how to implement this?
How do you swing an applet?
What is swing?
Why are swing components called lightweight?
What is layout in java swing?
What is the purpose of transferhandler class?
What are the advantages of swing?
Explain the difference between jfc & wfc.
Why swing is used in java?
What is difference between jframe and swing?