All have a method java.awt.Container getContentPane () to get the container on which we can draw, and also place controls.
java.awt.Container getContentPane ()
For the controls to be able to do anything we need to make them respond to events caused by user interaction...