Package org.fest.swing.util
Class RobotFactory
java.lang.Object
org.fest.swing.util.RobotFactory
Understands creation of AWT
Robot
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstructs a
object in the coordinate system of the primary screen.Robot
-
Constructor Details
-
RobotFactory
public RobotFactory()
-
-
Method Details
-
newRobotInPrimaryScreen
Constructs a
object in the coordinate system of the primary screen.Robot
- Returns:
- the created
Robot
. - Throws:
AWTException
- if the platform configuration does not allow low-level input control. This exception is always thrown whenGraphicsEnvironment.isHeadless()
returnstrue
.SecurityException
- ifcreateRobot
permission is not granted.
-