Assertion: applet's component | /r/CapableOf | generate the event
Facets:
Source sentences:
text: getSource returns a reference to the interface component that generated the event Knowing which component (button) generated the event allows the listener to determine what should be done Using the getSource method to distinguish betwen the two buttons, the actionPerformed method simply prints a message stating which button was clicked.