I've got a problem with a JWindow that I use as a image-view-window inside an application.

The JWindow pops up as I wanted it. I added a key listener, but this one only receives events after I have clicked into the JWindow. It seems that the window does not have the input focus. I tried to get the focus by calling requestFocus().. but it does not work?

Has anyone an idea how I can convenience this JWindow to get the input focus?

Best regards,