RFR: 8327872: Convert javax/swing/JToolTip/4644444/bug4644444.java applet test to main
Tejesh R
tr at openjdk.org
Tue Mar 12 10:06:19 UTC 2024
On Tue, 12 Mar 2024 05:33:40 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
> Conversion of manual applet test to main based using PassFailJFrame manual framework
test/jdk/javax/swing/JToolTip/4644444/bug4644444.java line 46:
> 44:
> 45: private static JFrame frame;
> 46: private static JButton button;
Both frame and button can be inside `creatUI()`. If you can use `splitUI` instead of `testUI` that would be even better.
test/jdk/javax/swing/JToolTip/4644444/bug4644444.java line 64:
> 62: frame.getContentPane().add(button);
> 63: frame.setSize(200, 80);
> 64: frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
`frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); `Not required.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18212#discussion_r1521184513
PR Review Comment: https://git.openjdk.org/jdk/pull/18212#discussion_r1521185597
More information about the client-libs-dev
mailing list