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

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -