This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_5_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 7247c3e0083d803d5b0f921f58435769c64a7435
Author: jochenberger <[email protected]>
AuthorDate: Fri Apr 10 08:44:47 2026 +0200

    GROOVY-11920: Include javax.swing.plaf.nimbus in Nimbus LAF check (as 
preferred)
    
    Add javax.swing.plaf.nimbus.NimbusLookAndFeel to the list of LAFs.
---
 .../groovy-swing/src/main/groovy/groovy/swing/LookAndFeelHelper.groovy   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/subprojects/groovy-swing/src/main/groovy/groovy/swing/LookAndFeelHelper.groovy
 
b/subprojects/groovy-swing/src/main/groovy/groovy/swing/LookAndFeelHelper.groovy
index 975b7a71a1..6ee042ee86 100644
--- 
a/subprojects/groovy-swing/src/main/groovy/groovy/swing/LookAndFeelHelper.groovy
+++ 
b/subprojects/groovy-swing/src/main/groovy/groovy/swing/LookAndFeelHelper.groovy
@@ -154,6 +154,7 @@ class LookAndFeelHelper {
 
     static String getNimbusLAFName() {
         for (klass in [
+            'javax.swing.plaf.nimbus.NimbusLookAndFeel',
             'com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel',
             'sun.swing.plaf.nimbus.NimbusLookAndFeel',
             'org.jdesktop.swingx.plaf.nimbus.NimbusLookAndFeel'

Reply via email to