Re: A fake mouse click
- From: Nik Belyaev <enby2005@xxxxxxxxx>
- Date: Tue, 31 Jan 2006 16:27:18 -0500
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
.
- References:
- A fake mouse click
- From: Nik Belyaev
- Re: A fake mouse click
- From: Ian Shef
- A fake mouse click
- Prev by Date: Re: A fake mouse click
- Previous by thread: Re: A fake mouse click
- Index(es):