keyListener & MouseButtonListener -
08-13-2009, 09:52 PM
When I use the listeners, I can get Alice to respond to mouseclicks and keypresses perform actions in response to these events.
I would like to distinguish between which mouse button was pressed and which key was pressed on the keyboard.
I have not been able to do this. I want do something different when an "A" is typed on the keyboard than when a "B" is typed.
|