On Fri, 8 Apr 2022 12:18:38 GMT, Alexey Ivanov <aiva...@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