I’m not sure how/where to implement my “ActionCommand” tag.

 

Say I have a menuitem “Exit” that includes the tag: ActionCommand=”CloseApplication”…

 

In my .java file, how/where do I write the event handler, i.e., 

 

// this doesn’t work.

public void CloseApplication () {

  System.exit(0);

}

Reply via email to