Java GUI Framework Question:
Download Job Interview Questions and Answers PDF
Why Swing components are called lightweight component?
Answer:
Another popular java swing interview question, I guess the oldest that is generally comes as followup of earlier question based on your answer provided. AWT components are associated with native screen resource and called heavyweight component while Swing components is uses the screen resource of an ancestor instead of having there own and that's why called lightweight or lighter component.
Download Java GUI Framework Interview Questions And Answers
PDF
Previous Question | Next Question |
What are differences between Swing and AWT? | What is difference between invokeAndWait and invokeLater? |