login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

This class is used to generate native system input event... of test automation, self-running demos, and other applic... control of the mouse and keyboard is needed. The primary... is to facilitate automated testing of Java platform impl...
Using the c

Robot (Java 2 Platform SE 5.0)
http://java.sun.com/j2se/1.5.0/docs/api/index.html?java/awt/Robot.html

[From frame: http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html]

Categories

/Channels/techie/Java

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. The primary purpose of Robot is to facilitate automated testing of Java platform implementations.

Using the class to generate input events differs from posting events to the AWT event queue or AWT components in that the events are generated in the platform's native input queue. For example, Robot.mouseMove will actually move the mouse cursor instead of just generating mouse move events.

HTML

<p> This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. The primary purpose of Robot is to facilitate automated testing of Java platform implementations. </p><p> Using the class to generate input events differs from posting events to the AWT event queue or AWT components in that the events are generated in the platform's native input queue. For example, <code>Robot.mouseMove</code> will actually move the mouse cursor instead of just generating mouse move events.</p>