Javatpoint Logo
Javatpoint Logo

Java MouseMotionListener Interface

The Java MouseMotionListener is notified whenever you move or drag mouse. It is notified against MouseEvent. The MouseMotionListener interface is found in java.awt.event package. It has two methods.

Methods of MouseMotionListener interface

The signature of 2 methods found in MouseMotionListener interface are given below:

Java MouseMotionListener Example


java awt mousemotionlistener example 1

Java MouseMotionListener Example 2


java awt mousemotionlistener example 2
Next TopicJava ItemListener

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA