getInputMap « JInternalFrame « Java Swing Q&A





1. Java: getInputMap(WHEN_IN_FOCUSED_WINDOW) from within JInternalFrame    stackoverflow.com

I have a component inside a JInternalFrame which needs to perform actions when keys are pressed within the JInternalFrame's parenting window. Using InputMap/ActionMap would be ideal, but the getInputMap(WHEN_IN_FOCUSED_WINDOW) of the ...