adding KeyListener to JPanel !!!!
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
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...
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center