⟩ Explain the differences between Swing and AWT?
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