Instances of this class describe text events.........
The TextEvent Class
Instances of this class describe text events. These are generated by text fields and text areas when characters are entered by a user or program.TextEvent defines the integer constant TEXT_VALUE_CHANGED.
TextEvent Class: constructor
TextEvent(Objectsrc, int type)
Here,src is a reference to the object that generated this event. The type of the event is specified by type.