User Interface Actions

helloButton.addActionListener( 
  new ActionListener()
  { 
    public void actionPerformed(ActionEvent event)
      { 
       textField.setText("Hello, World");
      }
  } );


previous | start | next .... [Slide 31] ....