About Dialog (3)

class DownDialog implements ActionListener {

   public void actionPerformed(ActionEvent e) {
      e.getComponent().getParent().setVisible(false);
   }
}


Slide 105 ©Copyright 1997 Jan Newmarch