Clean up and open source some of the AWT window tests. Automated test `InvalidFocusLostEventTest.java` is verified in our CI also and it passes on all platforms.
------------- Commit messages: - 8341000: Open source some of the AWT Window tests Changes: https://git.openjdk.org/jdk/pull/21281/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21281&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341000 Stats: 170 lines in 2 files changed: 170 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/21281.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21281/head:pull/21281 PR: https://git.openjdk.org/jdk/pull/21281
