On Tue, 15 Apr 2025 22:13:09 GMT, Phil Race <p...@openjdk.org> wrote:

> Open source a few Swing regression tests.

Ran all manual tests. LGTM.

test/jdk/javax/swing/JLabel/bug4945795.java line 61:

> 59:         JFrame mainFrame = new JFrame("Bug4945795");
> 60:         try {
> 61:             
> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Not sure if it makes much of a difference or is any better, but I was 
previously instructed to set 
`UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");`
 explicitly instead. Test runs fine anyway.

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

Marked as reviewed by dnguyen (Committer).

PR Review: https://git.openjdk.org/jdk/pull/24668#pullrequestreview-2770230881
PR Review Comment: https://git.openjdk.org/jdk/pull/24668#discussion_r2045739102

Reply via email to