Example usage for java.awt Robot setAutoWaitForIdle

List of usage examples for java.awt Robot setAutoWaitForIdle

Introduction

In this page you can find the example usage for java.awt Robot setAutoWaitForIdle.

Prototype

public synchronized void setAutoWaitForIdle(boolean isOn) 

Source Link

Document

Sets whether this Robot automatically invokes waitForIdle after generating an event.

Usage

From source file:Main.java

public static void main(String[] args) throws Exception {
    Robot robot = new Robot();

    robot.setAutoWaitForIdle(true);
    System.out.println(robot.isAutoWaitForIdle());

}