Questions tagged [awtrobot]

The Robot class (java.awt.Robot) is used to programmatically trigger input events such as key press events and mouse actions & can also perform screenshot capture.

The Robot class (java.awt.Robot) is used to programmatically trigger input events, such as key press events and mouse actions & can also perform capture.

For Example:

Example of Java Robot Programming

662 questions
-3
votes
3 answers

Program will not execute unless using System.out.println()

public class Main { public static void main(String[] args) { GUI gui = new GUI(); GameHandler gameHandler = new GameHandler(); while (!gui.shouldStop()) { while (gui.isRunning()) { …
-4
votes
2 answers

auto click once in JFrame

How can I make my program automatically do mouse click just only once each time after running a method on my JFrame? can it be achieved by using robot class?
user3429531
  • 355
  • 1
  • 7
  • 21
1 2 3
44
45