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? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -