XMLWordPrintable

    • Verified

      It is no longer possible for applications to use old or unsupported LookAndFeels. Some applications (such as, Nimbus and Aqua) used old class names to instantiate JDK internal Swing LookAndFeels. For example:

      * `javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");`
      * `javax.swing.UIManager.setLookAndFeel("apple.laf.AquaLookAndFeel");`

      These classes were internal to the JDK and applications should have always treated them as such. Applications that use these class names to instantiate JDK internal Swing LookAndFeels must migrate now to the following APIs:

      * For Nimbus use:

      `UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");`

      * For Aqua use:

      `UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());`

            serb Sergey Bylokhov
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: