"Forwarding" keypresses from an applet to a JFrame

Posted by hansengel on Stack Overflow See other posts from Stack Overflow or by hansengel
Published on 2010-05-15T16:15:34Z Indexed on 2010/05/15 16:24 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

I have a JFrame which contains a JApplet. There are shortcut keys that I have configured for the JFrame that work fine when the focus is on some panel of it, but once I click into the applet, none of the shortcut keys work anymore. Is there any way that I can forward these key presses to the JFrame so that the events are still fired?

© Stack Overflow or respective owner

Related posts about java

Related posts about applet