Open mokun opened 4 years ago
I've added a separate issue for WebSwitch
rework: #582
I'll make use of the Swing ActionMap
and InputMap
for actions instead of custom listeners, this will allow changing them at will by providing custom KeyStroke
s into switch InputMap
.
When I look inside the constructor of
WebSwitch
, I found out it automatically make use of SPACEBAR and ENTER for selecting/deselecting the switch.Is there a way to remove the Key listener on these two ?
Can I register a key of my own choice (e.g. ESC key) for switching ?
Appreciate !