Assertion: applet's method | /r/CapableOf | print message
Facets:
value: simply
type: MANNER
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.