--- old/src/share/classes/sun/awt/SunToolkit.java 2017-10-13 16:26:22.000000000 +0100 +++ new/src/share/classes/sun/awt/SunToolkit.java 2017-10-13 16:26:21.000000000 +0100 @@ -70,6 +70,9 @@ if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) { DebugSettings.init(); } + touchKeyboardAutoShowIsEnabled = Boolean.valueOf( + AccessController.doPrivileged(new GetPropertyAction( + "awt.touchKeyboardAutoShowIsEnabled", "true"))); }; /** @@ -1707,6 +1710,13 @@ */ public abstract void ungrab(Window w); + public void showOrHideTouchKeyboard(Component comp, AWTEvent e) {} + + private static boolean touchKeyboardAutoShowIsEnabled; + + public static boolean isTouchKeyboardAutoShowEnabled() { + return touchKeyboardAutoShowIsEnabled; + } /** * Locates the splash screen library in a platform dependent way and closes