< prev index next >

src/java.desktop/share/classes/java/awt/Component.java

Print this page

        

*** 5020,5029 **** --- 5020,5035 ---- } if (tpeer != null) { tpeer.handleEvent(e); } } + + if (SunToolkit.isTouchKeyboardAutoShowEnabled() && + (toolkit instanceof SunToolkit) && + ((e instanceof MouseEvent) || (e instanceof FocusEvent))) { + ((SunToolkit)toolkit).showOrHideTouchKeyboard(this, e); + } } // dispatchEventImpl() /* * If newEventsOnly is false, method is called so that ScrollPane can * override it and handle common-case mouse wheel scrolling. NOP
< prev index next >