aspose file tools*
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 Spring in Action this week in the Spring 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: 692

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: 692

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: 4642
    
    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: 692

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 ?