java - "Forwarding" keypresses from an applet to a JFrame -


I have a JFrame that has a japplet shortcut keys that I have configured for GeFame, which focus on any of its panels Focus, but once I click on applet, none of the shortcut keys works anymore. Is there any such way that I can forward these key presses to the JFrram so that the events are removed? Go?

I applet.setFocusable (false); Resolved this problem before adding it to JFrame.


Comments