Java Swing Programming Question: Download Java Swing Programming PDF

What are the differences between Swing and AWT?

Tweet Share WhatsApp

Answer:

AWT is heavy-weight components, but Swing is light-weight components. AWT is OS dependent because it uses native components, But Swing components are OS independent. We can change the look and feel in Swing which is not possible in AWT. Swing takes less memory compared to AWT. For drawing AWT uses screen rendering where Swing uses double buffering.

Download Java Swing Programming PDF Read All 26 Java Swing Programming Questions
Previous QuestionNext Question
What is AWT?What are heavyweight components ?