OK, here is the same problem but with a simple example to demonstrate the problem. If you run this program, you will find that ONLY "FrameListener: keyPressed" is displayed. "PanelListener: keyPressed" is never displayed, but I would like it to be.
Thanks in advance for any help you can give me!
posted 14 years ago
Ah yes, note that the call to "super.keyPressed(KeyEvent evt)" is not necessary. I just forgot to remove it.