< prev index next >
src/share/classes/sun/awt/SunToolkit.java
Print this page
*** 68,77 ****
--- 68,80 ----
/* Load debug settings for native code */
static {
if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) {
DebugSettings.init();
}
+ touchKeyboardAutoShowIsEnabled = Boolean.valueOf(
+ AccessController.doPrivileged(new GetPropertyAction(
+ "awt.touchKeyboardAutoShowIsEnabled", "true")));
};
/**
* Special mask for the UngrabEvent events, in addition to the
* public masks defined in AWTEvent. Should be used as the mask
*** 1705,1714 ****
--- 1708,1724 ----
/**
* Forces ungrab. No event will be sent.
*/
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
* the splash screen. Should be invoked on first top-level frame display.
* @see java.awt.SplashScreen
< prev index next >