--- old/src/java.desktop/share/classes/sun/awt/SunToolkit.java 2017-09-21 16:24:37.000000000 +0100 +++ new/src/java.desktop/share/classes/sun/awt/SunToolkit.java 2017-09-21 16:24:37.000000000 +0100 @@ -84,6 +84,9 @@ if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) { DebugSettings.init(); } + touchKeyboardAutoShowIsEnabled = Boolean.valueOf( + GetPropertyAction.privilegedGetProperty( + "awt.touchKeyboardAutoShowIsEnabled", "true")); }; /** @@ -1614,6 +1617,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