This testcase Checking whether the Component becoming the Focus Owner and FocusEvent.FOCUS_GAINED will be received by the Component when the focus is requested on the component using requestFocus.
Testing: Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass. ------------- Commit messages: - 8305427: Whitespace removed - 8305427: Write a test Check whether focus changes as expected when requestFocus is used to traverse randomly around the window Changes: https://git.openjdk.org/jdk/pull/13293/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13293&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8305427 Stats: 232 lines in 1 file changed: 232 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/13293.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13293/head:pull/13293 PR: https://git.openjdk.org/jdk/pull/13293