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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b92

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: