Class RobotFactory

java.lang.Object
org.fest.swing.util.RobotFactory

public class RobotFactory extends Object
Understands creation of AWT Robots.
  • Constructor Details

    • RobotFactory

      public RobotFactory()
  • Method Details

    • newRobotInPrimaryScreen

      public Robot newRobotInPrimaryScreen() throws AWTException
      Constructs a Robot object in the coordinate system of the primary screen.
      Returns:
      the created Robot.
      Throws:
      AWTException - if the platform configuration does not allow low-level input control. This exception is always thrown when GraphicsEnvironment.isHeadless() returns true.
      SecurityException - if createRobot permission is not granted.