How to implement mouse and key listener in one class
Hi all,
I am new to Java and would like to know how to implement mouse and key listener in one class. I am trying to create an applet that behaves a certian way when a mouse is clicked and behaves another way when a certain key is pressed.
I can implement one or the other, I dont know how to implement both.
Thanks in advance.
Haresh.

