MouseListener

Name

Objects that implement the MouseListener
interface can receive non-motion oriented MouseEvent
objects. Listeners must first register themselves with objects that produce
events. When events occur, they are then automatically propagated to all
registered listeners.