Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080444

Update SwingSet2 to use installed L&Fs instead of hard-coded list.

XMLWordPrintable

    • b92

        SwingSet2 has a hardcoded list of LAFs & then filters them based on
        "LookAndFeel.isSupportedLookAndFeel().
        Since its a standalone app, when it starts up then Swing should
        have populated the array retgurned by UIManager.getInstalledLookAndFeels()
        with the correct set.
        Fixing this will mean that it no longer needs to call Class.forName().newInstance()
        which won't work for all of the platform-specific ones in the modular JDK

              alexsch Alexandr Scherbatiy
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: