java - Use JMenus keystrokes in multiple windows? -


my application uses 1 jframe , 2 child jdialogs.

the jmenubar jmenus , keystrokes in 1 child jdialog. problem these keystrokes work when child jdialog focused, not when other jdialog or jframe focused.

is there way fix problem?

this not problem, keystrokes go component (window) focus. if not make sense other windows intercept key strokes.

if want guess need @ using global event listener.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -