Java Swing AWT Question:
Download Job Interview Questions and Answers PDF
Explain the differences between Swing and AWT?
Answer:
Swing is a library of GUI controls. Classes in swing are not OS dependent.
They don’t create peer components, so they are light weight unlike AWT.
They don’t take the look and feel of the target platform so they have a consistent appearance
They don’t create peer components, so they are light weight unlike AWT.
They don’t take the look and feel of the target platform so they have a consistent appearance
Download Swing AWT Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain AWT? | What are heavyweight and lightweight components? |