Hi all,
I’m having some issues on Mac with the menu bar not invoking keyboard shortcuts (although I can visibly see them picked up by the native menu with the menu title being highlighted - just nothing happens). This is in a project where it was working previously for many years and now has stopped.
The current situation is that the Component that is added to the main DocumentWindow also inherits from my custom ApplicationCommandTarget
implementation, and it calls…
addKeyListener (getCommandManager().getKeyMappings());
where getCommandManager()
does what it says on the tin.
However, this has ceased to work. I can get things to work when I call addKeyListener()
on the actual DocumentWindow
- but this is causing crashes when the window is destroyed / re-created.
Any tips on what I’m doing wrong here or what might have changed?
Thanks in advance,
Adam