src/share/classes/javax/swing/UIManager.java

Print this page
rev 4258 : [NEW BUG]: Add Look&Feel support for AIX platform
Contributed-by: Sean Chou <zhouyx@linux.vnet.ibm.com>

@@ -606,11 +606,11 @@
                     toolkit instanceof SunToolkit &&
                     ((SunToolkit) toolkit).isNativeGTKAvailable()) {
                 // May be set on Linux and Solaris boxs.
                 return "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
             }
-            if (osType == OSInfo.OSType.SOLARIS) {
+            if (osType == OSInfo.OSType.SOLARIS || osType == OSInfo.OSType.AIX) {
                 return "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
             }
         }
         return getCrossPlatformLookAndFeelClassName();
     }