This update to `FileChooserSymLinkTest.java` demonstrates the usage of the `testUI` method of the `PassFailJFrame.Builder` class to streamline creating the UI for manual tests.
The [`main` method](https://github.com/aivanov-jdk/jdk/blob/cb1835527d718226f1c6fdd85ff5986703ea356f/test/jdk/javax/swing/JFileChooser/FileChooserSymLinkTest.java#L110-L118) is a simple sequence of calls: public static void main(String[] args) throws Exception { PassFailJFrame.builder() .instructions(INSTRUCTIONS) .rows(35) .columns(50) .testUI(FileChooserSymLinkTest::createTestUI) .build() .awaitAndCheck(); } It's the most streamlined way of creating a manual test. This change depends on #15665 and [JDK-8294156](https://bugs.openjdk.org/browse/JDK-8294156) as well as #15661, both of which depend on #15660. ------------- Depends on: https://git.openjdk.org/jdk/pull/15665 Commit messages: - Use testUI() and builder pattern to create test UI Changes: https://git.openjdk.org/jdk/pull/15666/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15666&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316025 Stats: 110 lines in 1 file changed: 52 ins; 47 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/15666.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15666/head:pull/15666 PR: https://git.openjdk.org/jdk/pull/15666