On Thu, 1 Feb 2024 07:09:55 GMT, Renjith Kannath Pariyangad 
<[email protected]> wrote:

>> test/jdk/java/awt/print/PrinterJob/DrawStringMethods.java line 70:
>> 
>>> 68:                 .build();
>>> 69: 
>>> 70:         PrinterJob pjob = PrinterJob.getPrinterJob();
>> 
>> i think this could be moved into a helper function and called by 
>> passFailJFrame builder via .testui(DrawStringMethods::helperFunction)
>
> These class do not have any UI/frame, so I don't think it will workout here.

Right, `PassFailJFrame` works correctly without secondary test UI. There's not 
requirement to create test UI if it's not needed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17608#discussion_r1482011936

Reply via email to