Test is failing in macosx-12 in aarch64 system. Added stability fixes of delay after frame is visible, making frame to center of screen to make the test stable in macos12-aarch64 system too. Modified test passes in all CI platforms including osx-aarch64 system in osx11 and osx12.
------------- Commit messages: - 8172065: javax/swing/JTree/4908142/bug4908142.java The selected index should be aad Changes: https://git.openjdk.java.net/jdk/pull/6661/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6661&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8172065 Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/6661.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6661/head:pull/6661 PR: https://git.openjdk.java.net/jdk/pull/6661