Monday, 11 September 2017

SemanticListener -ActionListener



ActionListener
ü  If a component wants to fire an ActionEvent, then that should be registered with this listener.
ü  when a component fires an ActionEvent then following method will be invoked automatically.
public void actionPerformed(ActionEvent);
          ActionEvent
          objname.addActionListener(ActionListener)->actionPerformed(ActionEvent)

No comments:

Post a Comment

Featured post

Development Of JAVA Program