Java tutorial
import java.awt.Robot; public class Main { public static void main(String[] args) throws Exception { Robot robot = new Robot(); robot.setAutoDelay(1000); System.out.println(robot.getAutoDelay()); } }