
WHAT ARE THE DIFFERENCES BETWEEN AWT AND SWINGS?

Difference between AWT and Swing
1)AWT components use native methods whereas Swing components use the methods that are writtern in Java. Hence AWT components are called HeavyWeight component and Swings are called ligth weight component.
2)swings components are made in purely java and they are platform independent whereas AWT compoents are platform dependent.
3)we can have different look and feel in Swing whereas this feature is not supported in AWT.
4)Swing has many advanced features like JTable,JTabbedPane which is not available in awt.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.