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 do you mean by java swing?
How to reload a jframe in java swing?
What are swing components in java?
What is swing gui in java?
What are the advantage of swing over awt?
Why should the implementation of any swing callback (like a listener) execute quickly?
What is swing gui?
What is Java Swing?
Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.
What are the different components that are used to show a container?
Why swing is better than awt?
What is an event in Swing?
What is jfc swing in java?
What is swing components in java?
Why swing components are called lightweight components?