Conversion from KeyListener to KeyBindings