wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to move mouse pointer programatically ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to move mouse pointer programatically ?" Watch "how to move mouse pointer programatically ?" New topic
Author

how to move mouse pointer programatically ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

how can i make mouse pointer move programatically in java ?


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

naved momin wrote:how can i make mouse pointer move programatically in java ?


java.awt.Robot might be able to do that.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

Jeff Verdegan wrote:
naved momin wrote:how can i make mouse pointer move programatically in java ?


java.awt.Robot might be able to do that.
thanks and one more thing jeff do you know how to get mouse input when your application doesn't have focus , i know this cannot be implemented in java , so i m just thinking that it could be done in c or c++ can you point me towards any tutorial or books which shows me how to do this stuff , because i have google but didn't find any thing related?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Sorry, I know zero about GUIs, and even less about native GUIs.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Moved form Java in General.

naved momin wrote:do you know how to get mouse input when your application doesn't have focus

You can get the location from MouseInfo / PointerInfo


luck, db
There are no new questions, but there may be new answers.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

Darryl Burke wrote:Moved form Java in General.

naved momin wrote:do you know how to get mouse input when your application doesn't have focus

You can get the location from MouseInfo / PointerInfo

thanks for the help to you and jeff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to move mouse pointer programatically ?
 
Similar Threads
need help to perform actions in excel through java
Mapping eye movements
mouse related
Hiding password value from persistance.xml
Current mouse location...