On Wed, 10 Apr 2024 11:23:22 GMT, Tejesh R <t...@openjdk.org> wrote: >> test/jdk/javax/swing/JTable/JTableScrollPrintTest.java line 45: >> >>> 43: * @test >>> 44: * @key headful >>> 45: * @bug 8210807 8322140 >> >> Suggestion: >> >> You may update the test with `PassFailJFrame.builder()`. >> >> I guess `Graphics2D g2d` object needs to be disposed. > > I guess here we don't have to dispose.
Updated test with PassFailJFrame.builder(). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18187#discussion_r1559299656