< prev index next >

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

Print this page

        

*** 4963,4972 **** --- 4963,4978 ---- } 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 >