io.afu.robot.RobotInstance Maven / Gradle / Ivy
package io.afu.robot;
import io.afu.utils.exception.BaseException;
import java.awt.*;
public class RobotInstance {
public static Robot createRobot() throws BaseException{
try {
System.setProperty("java.awt.headless","false");
return new Robot();
}catch (Exception e){
throw new BaseException(e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy