Hi, what I am trying to do is simple:
I just want to execute something depend on what the user presses. Here's the pseudocode:
if(user presses 1) {
do this
} else {
do that
}
ps.
I was reading about
java.awt.AWTKeyStroke;
and is that what I need to use? If so how?