Frame.setVisible(false) is removed from the test since the original issue was about adding and removing the textfield and not the frame itself.
------------- Commit messages: - spacing - test update Changes: https://git.openjdk.org/jdk/pull/27301/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27301&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8346839 Stats: 16 lines in 1 file changed: 1 ins; 4 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/27301.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27301/head:pull/27301 PR: https://git.openjdk.org/jdk/pull/27301
