class Swing11 extends JFrame
                   implements ActionListener{
  JButton jButton = new JButton("JButton");
  JTextField jTextField = new JTextField(
                                          "JTextField");
  JLabel jLabel = new JLabel("JLabel"); 
 

Figure 2