MouseMotionListener Interface:
This interface declares two methods. The mouseDragged ( ) method is called multiple times as the mouse is dragged and the mouseMoved() method is called multiple times as the mouse is moved. Their common forms are display here:
Syntax: void mouseDragged(MouseEvent me)
Syntax: void mouseMoved(MouseEvent me)
The TextListener Interface
This interface declares the textChanged() method which is invoked when a modification occurs in a text area or textfield. Its common form is display here:
Syntax: void textChanged(TextEvent te)