java - auto click once in JFrame -


How can I automatically make mouse click my program once Every time after running a method on my JFrame?

Can this be achieved using the robot class?

Yes, the robot can do this, but just do it on your pocket (code doClick () Calling should be enough, unless you need a cursor on the button at all. Certain Methods for Private Zero () {myButton.doClick (); }

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -