Robot : Java Glossary


Robot
In Java version 1.3 or later, the  java.awt.Robot class has little to do with little tin men. It is a class for generating events that simulate keypresses and mouse moves. You could use it to replay mouse motions and keypresses for a demo or to automate GUI (Graphic User Interface) code that you cannot modify. It is most commonly used to automate GUI testing. It does not capture manual mouse moves and keystrokes, just generates simulated ones. It can also be used to capture pixels off the screen, even pixels painted by some other application. That does not give you the text, just the graphic image of the text.

Learning More

Oracle’s Javadoc on Robot class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/robot.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\robot.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Blog
IP:[65.110.21.43]
Your face IP:[54.196.196.108]
You are visitor number