Hi, Please review the following fix for jdk9.
Bug: https://bugs.openjdk.java.net/browse/JDK-8039467 Webrev: http://cr.openjdk.java.net/~psadhukhan/ambarish/8039467/webrev.00/ Issue: As the test window is non focusable, the automated keyboard events are not consumed by the window. But these keyboard events are getting consumed by any previously focused window, & this disturbs the environment. Fix: 1. Create temporary frame from test code & set focus on it. 2. Keep same test code flow for testing unfocusable window. 3. The automated keyboard events will be consumed by the temporary frame. This will assure that other window / environment is not affected. Many Thanks, Ambarish Rapte