Hi all,
I've created a
applet with implements MouselListener interface. I the appplet I use to display all the names of my customers. On the click event of the mouse on a particular user, I use to display the information about that user on the side of the applet. It is working fine.
Now as a enhancement i want a new feature. I want the application user should be able to navigate through the users in the applets , with the helps of arrow keys of the keboard, also.
this can be achieved by implementing KeyListner interface which contains the following methods:
keyPressed
keyReleased
keyTyped
But i just want to trap the event , when arrow keys are pressed. But how can I do this specifically for arrowkeys.
can anybody pl help me.
Thanks in advance