Article View: borland.public.jbuilder.java.api
Article #2573Re: setting a mouse position
From: John P. McGrath
Date: Sat, 16 Sep 2000 00:00
Date: Sat, 16 Sep 2000 00:00
17 lines
752 bytes
752 bytes
On Fri, 15 Sep 2000 12:42:03 -0400, Frank wrote:
> Are there any functions that set the position (x,y) of the
> mouse cursor on the screen?
In JDK 1.3 only:
import java.awt.Robot;
:
Robot robot = new Robot();
:
robot.mouseMove( x, y );
--
Regards,
John McGrath
Technical Details
Message-ID:
<MPG.142ce891cc0c9c54989b3a@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39c24c25$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,95a818d94a09e7b1 X-Google-Attributes: gid1089d0,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: setting a mouse position Date: 2000/09/16 Message-ID: <MPG.142ce891cc0c9c54989b3a@forums.borland.com> X-Deja-AN: 670464775 References: <39c24c25$1_2@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.api