JDK-8080444 : Update SwingSet2 to use installed L&Fs instead of hard-coded list.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: demo
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-14
  • Updated: 2018-05-14
  • Resolved: 2015-10-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u172Fixed 9 b92Fixed
SwingSet2 has a hardcoded list of LAFs & then filters them based on
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