RosettaCodeData/Task/Simulate-input-Mouse/Java/simulate-input-mouse-2.java
2023-07-01 13:44:08 -04:00

1 line
112 B
Java

button.doClick(); //optionally, give an integer argument for the number of milliseconds to hold the button down