Java Swing AWT Question:
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
Previous Question | Next Question |
Explain AWT? | What are heavyweight and lightweight components? |