The interface MouseMotionListener is used for receiving mouse motion events on a component. The class that processes mouse motion events needs to implements this interface.
Following is the declaration for java.awt.event.MouseMotionListener interface −
|Sr.No.||Method & Description|
This class inherits methods from the following interface −
Create the following Java program using any editor of your choice in say D:/ > SWING > com > wisdomjobs> gui >
Compile the program using the command prompt. Go to D:/ > SWING and type the following command.
If no error occurs, it means the compilation is successful. Run the program using the following command.
Verify the following output.
Java Swing Related Interview Questions
|Adv Java Interview Questions||J2EE Interview Questions|
|Core Java Interview Questions||JSP Interview Questions|
|Java-Springs Interview Questions||JMS(Java Message Service) Interview Questions|
|Java applet Interview Questions||Java Interview Questions|
|Java 8 Interview Questions||Java Programmer Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.