Jbutton pressing a key

Asked

Viewed 31 times

1

Is it possible to "simulate" pressing a key from a keyboard at the click of a Jbutton within another program? I want to do this because I’m messing with old versions of Amcap .

  • Depends, add the code where you want to do this so it can be checked if it is possible.

  • If you have access to the code of the "other program" you can put yourself to simulate the keystroke, no?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.