Java Robot.getAutoDelay()
Syntax
Robot.getAutoDelay() has the following syntax.
public int getAutoDelay()
Example
In the following code shows how to use Robot.getAutoDelay() method.
import java.awt.Robot;
// w ww . j ava 2 s. c om
public class Main {
public static void main(String[] args) throws Exception {
Robot robot = new Robot();
robot.delay(1000);
System.out.println(robot.getAutoDelay());
}
}
Home »
Java Tutorial »
java.awt »
Java Tutorial »
java.awt »