8198605: Touch keyboard is shown for a non-focusable text component
Reviewed-by: serb, dmarkov
--- a/src/java.desktop/windows/classes/sun/awt/windows/WToolkit.java Sat Mar 03 09:55:22 2018 +0530
+++ b/src/java.desktop/windows/classes/sun/awt/windows/WToolkit.java Mon Mar 05 01:22:36 2018 +0000
@@ -1104,6 +1104,7 @@
}
if ((e instanceof MouseEvent) && comp.isEnabled() &&
+ comp.isFocusable() &&
(((comp instanceof TextComponent) &&
((TextComponent)comp).isEditable()) ||
((comp instanceof JTextComponent) &&