Thursday, October 8, 2009

Auto mouse click by Java Robot

Java.awt.Robot class is used to take the control of mouse and keyboard. Once you get the control, you can do any type of operation related to mouse and keyboard through your java code. This class is used generally for test automation.

This sample program show the use of Robot class to handle mouse right click. If you run this code you will see the right click menu popup automatically for each two seconds.

i have written this program for my friend request to use in some PC game (RPG) playing, instead of using hands clicking on mouse but you let this program do it for you.

If you are Java developer, you can modify this program to fit your needs by using Netbeans 6.7 IDE and Java 5.



Anand said...

hey AutoMouseclick is nice application can u send it to my mail id -

Web Directory said...

Really nice creation i like that..


Post a Comment