Fallback mode, compatible with OpenJDK key event processing

(cherry picked from commit 33704a6)
4 files changed