Both the tests demonstrates how to use the PassFailJFrame's builder pattern. 1) TrayIconScalingTest.java demonstrates how to add screen shot method 2) PrintLatinCJKTest.java demonstrates how to use PassFailJFrame's builder pattern without screen shot method.
@aivanov-jdk @honkar-jdk ------------- Commit messages: - 8315071 : Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage Changes: https://git.openjdk.org/jdk/pull/15438/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15438&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8315071 Stats: 18 lines in 2 files changed: 12 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/15438.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15438/head:pull/15438 PR: https://git.openjdk.org/jdk/pull/15438