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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Apr 8 12:41:30 UTC 2022


On Fri, 8 Apr 2022 12:18:38 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Test fix
>
> test/jdk/javax/swing/JTable/PrintAllPagesTest.java line 152:
> 
>> 150:         mainPanel.add(buttonPanel, BorderLayout.SOUTH);
>> 151:         dialog.add(mainPanel);
>> 152:         dialog.setUndecorated(true);
> 
> It doesn't prevent you from using Alt+F4 to close the window but makes experience worse.
> 
> Is it possible to use JFrame instead of JDialog to display instructions?
> 
> If I accidentally switch to another window which overlaps the dialog, there's no way to bring it to the top other than minimizing all the windows that might overlap the dialog. If it's a frame, it's displayed in the Taskbar.

I will rather not make the test more complicated...it's not a test fix..it just to verify the product fix..
I am not able to close in windows using ALT+F4 anyway...
Other suggestions accepted...

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

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



More information about the client-libs-dev mailing list