Java Swing Programming Question:
Download Job Interview Questions and Answers PDF
What are the differences between Swing and AWT?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is AWT? | What are heavyweight components ? |