Question: what are the difference between java awt and java swing?
Answer: Basically AWT came first and is a set of heavyweight UI components (meaning they are wrappers for operating system objects) whereas Swing built on top of AWT with a richer set of lightweight components. Any serious Java UI work is done in Swing not AWT, which was primarily used for applets.