Java Swing Interview Questions and Answers
Ques. What are the differences between Swing and AWT?Ans. 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.
Is it helpful? Yes No
Most helpful rated by users: