Assertion: applet's method | /r/CapableOf | display the name
Facets:
Source sentences:
text: In our code two kinds of events could be generated - Whenever we press the Enter key while entering the information in textfield, an ActionEvent is generated and actionPerformed() method is called, which calls repaint() method, which in turns calls the paint() method defined in our Applet class, to display the name or city you've entered.