1 | A TextField is a box in which the user enters a single line of text: TextField tf = new TextField(20); |
2 | The integer argument to the TextField constructor above is the width of the field (in characters) |
3 | A TextField object generates an ActionEvent when the user presses return |