RFR: 8257810: Only First page are printed in JTable.scrollRectToVisible [v7]

Alexey Ivanov aivanov at openjdk.java.net
Mon May 9 21:06:57 UTC 2022


On Mon, 9 May 2022 20:28:37 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/javax/swing/JTable/PrintAllPagesTest.java line 136:
>> 
>>> 134: 
>>> 135:         dialog = new JDialog(f, "Instructions for Table Print Test");
>>> 136:         dialog.setTitle("textselectionTest");
>> 
>> I guess this line should be removed now. The title for the dialog is provided in its constructor.
>
> Why can't this use the new PassFailJFrame ?

It can. Yet the test had been written before `PassFailJFrame` was integrated.

I'm fine with either way.

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

PR: https://git.openjdk.java.net/jdk/pull/8141



More information about the client-libs-dev mailing list