hi....
In my program, i want to add mouse and key listeners to a JPanel. there is no problem with the mouse listener. But the keylistener is not working. my code looks like
myPanel.addMouseListener(this);
myPanel.addKeyListener(this);
my class implements these two listeners. the program compiles and it is running. i am not able to debug the error with keylistener. it seems key listener has not added to the JPanel. somebody pls help...
thanx...
sanu
