RFR: 8328227: Remove applet usage from JColorChooser tests Test4887836

Abhishek Kumar abhiscxk at openjdk.org
Mon Mar 18 08:37:27 UTC 2024


On Thu, 14 Mar 2024 23:02:58 GMT, Alisen Chung <achung at openjdk.org> wrote:

> Removing applet usage from manual JColorChooser tests

test/jdk/javax/swing/JColorChooser/Test4887836.java line 57:

> 55:     private static JColorChooser createColorChooser() {
> 56:         JColorChooser chooser = new JColorChooser(Color.LIGHT_GRAY);
> 57:         UIManager.put("Label.font", new Font("Perpetua", 0, 36)); // NON-NLS: property and font names

Can add comment above.
Suggestion:

        // NON-NLS: property and font names
        UIManager.put("Label.font", new Font("Perpetua", 0, 36));

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18316#discussion_r1528068244


More information about the client-libs-dev mailing list