> I have a JPanel with a background image.
http://www.physci.org/codes/sscce.jsp
>..I want to receive key events but
> the events are not coming to my keyListener of my JPanel class.
javax.swing.InputMap was introduced in 1.3
it should be used in preference to the
KeyListener interface (if that is what you
are using)
>..It seems
> that the image will block the key events.
> How to receive key events when a background image is in effect.
I would need to see your code.

Signature
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
> I have a JPanel with a background image. I want to receive key events but
> the events are not coming to my keyListener of my JPanel class. It seems
> that the image will block the key events.
> How to receive key events when a background image is in effect.
Give the focus to the JPanel.
Christian