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 are heavyweight components? What is lightweight component?
Is there any heavyweight component in swings?
What do you mean by java swing?
Which swing methods are thread-safe?
Why swings are used in java?
Is swing an api?
What is the difference between a scrollbar and a jscrollpane ?
What is swing?
What is the base class for all swing components?
What are the components of swing?
Who created the swing?
Can a class be it?s own event handler? Explain how to implement this?
What are the differences between Swing and AWT?
How to move from one page to another in java swing?
What is swing package in java?