use java.awt.Robot !!! that should get you started
hope that helps you
rubinboy
opalpa@gmail.com opalinski from opalpaweb - 22 Mar 2006 22:45 GMT
I beleive Robot allows one to put mouse at some coordinates but not
read mouse coordinates.
Opalinski
opalpa@gmail.com
http://www.geocities.com/opalpaweb/
Tom - 23 Mar 2006 00:34 GMT
>use java.awt.Robot !!! that should get you started
>
>hope that helps you
>
>rubinboy
You can just put these coordinates with Robot class not read.
>I want to get the coordinates x and y for the system(windows xp)on a mouse
>click. This means i want this to work on regular windows screen components
>such as iexplorer and not java GUI.
see http://mindprod.com/products1.html#MOUSE if you have an old JRE.
If you have JDK 1.5+ you can use MouseInfo.getPointerInfo.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.