How can I add key listener to whole application for keys F1, F2 etc.
I would like to add shortcuts to some functions to whole application. For example when I press F1, some window pops up. Is there a possibility to use keys F1, F2 etc?
I want to add key listener to application and run function no matter what user is currently doing?
My application on the "bottom" consists of viewport, which has added content panel, but when I added listener to viewport it is not handling key events until I open some another window.