Re: A fake mouse click



On Tuesday 31 January 2006 14:09 Ian Shef wrote:

> Nik Belyaev <enby2005@xxxxxxxxx> wrote in
> news:drnmk3$pvi$1@xxxxxxxxxxxxxxxxxxxx:
>
> <snip>
>> I've come across a problem which I've never met before. My program has
>> to emulate a mouse movement and a mouse click. I.e. I need something
>> like "mouseMoveTo(int x, y)" and "mouseClick()" that moves the cursor at
>> (x,y) of the screen and emulates a left click, respectively.
> <snip>
> Take a look at java.awt.Robot, available since Java 1.3.
> Methods available include mouseMove, mousePress, and mouseRelease.
>
>

OK, Thanks everybody! This is exactly the kind of class I've been looking
for but somehow couldn't find ;). Thanks again...

--
With best regards,
Nik
.