You are browsing the
Java HTML documentation for information on the java.awt.TextField component. You want to create Listener code to respond to focus events. The only Listener method listed is addActionListener. How do you go about finding out about Listener methods?
1) Define your own Listener interface according to the event to be tracked //this also is true is 'nt it we can create our own listeners
2) Use the search facility in the HTML documentation for the listener needed //???
3) Move up the hierarchy in the HTML documentation to locate methods in base classes //this is the answer given
4) Subclass awt.event with the appropriate Listener method
subclass awt.Event with the apprpriate Listner method
//f why???