Java Swing Programming Question:
Download Questions PDF

What are the differences between Swing and AWT?


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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is AWT?What are heavyweight components ?