An event listener registration method must begin with a prefix 'add' followed by the type of the listener. This method must be declared public, and it must accept one and only one argument of the listener's type. There is only one signature in the list which meets these requirements: public void addSomeListener(SomeListener l).
Login in to like
Login in to comment