ii621
ii621

Reputation: 1

How to save a key press to variable with jnativehook

So this is probably an obvious question, but i am just wondering if there is a way to save a key press to a variable (like a char or a string). I am relatively new to java, I know how to use scanners and how to make hash codes, I got a login screen with no back button coded so yea making good progress, but with all that aside how do i save a key press to a variable?

Upvotes: 0

Views: 60

Answers (0)

Related Questions