Adds an ActionListener to the TextField.
The ActionListener will be invoked when the user
presses the ENTER key in the field.
Parameters: l - the ActionListener to add
Sets the maximum length (in characters) of the text which may be
entered into the component.
Parameters: newValue - the new maximum length, or -1 if to specify an unlimited length