Re: A fake mouse click
- From: "Benoit Peltier" <Benoit@xxxxxxx>
- Date: Tue, 31 Jan 2006 12:05:42 -0500
Have you tried the java.awt.Robot class ? It seems to have the method you
need.
Benoit
"Nik Belyaev" <enby2005@xxxxxxxxx> wrote in message
news:drnmk3$pvi$1@xxxxxxxxxxxxxxxxxxxxxxx
> Hi, All!
>
> 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.
>
> I tried searching for this kind of method in the RTFM but I didn't get any
> results...
>
> I'd really appreciate if someone could show me the right way of
> implementing
> this.
>
> PS If it makes it different, the system is Linux with KDE 3.4
>
> --
> With best regards,
> Nik
.
- References:
- A fake mouse click
- From: Nik Belyaev
- A fake mouse click
- Prev by Date: A fake mouse click
- Next by Date: Re: A fake mouse click
- Previous by thread: A fake mouse click
- Next by thread: Re: A fake mouse click
- Index(es):
Relevant Pages
|
|