This test does not fail on Windows and does fail on Linux. After de-iconification we expect to see the button focused: 
Actual look:  Button loses focus on `frame.to Front()` call, after its removal test passes. There is an [open issue](https://bugs.openjdk.java.net/browse/JDK-7156130) for this. Some cleanup was also made. Testing is green for all platforms. I am unable to reproduce [8266244 / macosx-aarch64](https://bugs.openjdk.java.net/browse/JDK-8266244), however it is not removed from the problem list due to its intermittent nature which needs more time to investigate. ------------- Commit messages: - linux fix - initial Changes: https://git.openjdk.java.net/jdk/pull/6157/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6157&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8079267 Stats: 47 lines in 2 files changed: 14 ins; 24 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/6157.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6157/head:pull/6157 PR: https://git.openjdk.java.net/jdk/pull/6157