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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -