mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

HotkeyManager rework #541

Open mgarin opened 4 years ago

mgarin commented 4 years ago

HotkeyManager that I originally implemented used (and still uses) an AWTEventListener to follow various key events and trigger registered actions. This way has some major flaws and doesn't work too well with the existing Swing implementation of hotkey handling through component input map and action map.

I'm planning to change HotkeyManager to work with the standard component input and action maps, but make it less painful for the actual user than the original way.

Some of the issues that might also be resolved once implemented:

I will post more details on the rework once I get to implement it.

mgarin commented 4 years ago

Moving to v1.2.12