src/java.desktop/share/classes/sun/awt/SunToolkit.java
changeset 47384 3b244a98d5ab
parent 47216 71c04702a3d5
child 48416 08144d9cbdaa
equal deleted inserted replaced
47383:74429839ae97 47384:3b244a98d5ab
    82     /* Load debug settings for native code */
    82     /* Load debug settings for native code */
    83     static {
    83     static {
    84         if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) {
    84         if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) {
    85             DebugSettings.init();
    85             DebugSettings.init();
    86         }
    86         }
       
    87         touchKeyboardAutoShowIsEnabled = Boolean.valueOf(
       
    88             GetPropertyAction.privilegedGetProperty(
       
    89                 "awt.touchKeyboardAutoShowIsEnabled", "true"));
    87     };
    90     };
    88 
    91 
    89     /**
    92     /**
    90      * Special mask for the UngrabEvent events, in addition to the
    93      * Special mask for the UngrabEvent events, in addition to the
    91      * public masks defined in AWTEvent.  Should be used as the mask
    94      * public masks defined in AWTEvent.  Should be used as the mask
  1612     /**
  1615     /**
  1613      * Forces ungrab.  No event will be sent.
  1616      * Forces ungrab.  No event will be sent.
  1614      */
  1617      */
  1615     public abstract void ungrab(Window w);
  1618     public abstract void ungrab(Window w);
  1616 
  1619 
       
  1620     public void showOrHideTouchKeyboard(Component comp, AWTEvent e) {}
       
  1621 
       
  1622     private static boolean touchKeyboardAutoShowIsEnabled;
       
  1623 
       
  1624     public static boolean isTouchKeyboardAutoShowEnabled() {
       
  1625         return touchKeyboardAutoShowIsEnabled;
       
  1626     }
  1617 
  1627 
  1618     /**
  1628     /**
  1619      * Locates the splash screen library in a platform dependent way and closes
  1629      * Locates the splash screen library in a platform dependent way and closes
  1620      * the splash screen. Should be invoked on first top-level frame display.
  1630      * the splash screen. Should be invoked on first top-level frame display.
  1621      * @see java.awt.SplashScreen
  1631      * @see java.awt.SplashScreen