Swing is an extension of, and not a replacement for AWT.
There is some overlap.
(Swing JButton component is improved functional replacement for AWT Button component).