Nimbus is getting a new home

I’ve already mentioned that the upcoming Nimbus look-and-feel is not being hosted in a usual location (javax.swing package). While at first the NimbusLookAndFeel class was in a sun.swing.plaf.nimbus package, it has now been moved to a new home – com.sun.java.swing.plaf.nimbus, whose parent package also hosts GTK, Motif and Windows look-and-feels.

Bug 6616742 is the reason – Nimbus was not available in unsigned applets due to class loading restrictions on internal sun.swing packages. It also fixes 6618285 – using the NimbusLookAndFeel class directly in the source code.


Related posts:

  1. First look at Nimbus and “Java SE 6 Update N” A mildly unexpected announcement on Jasper’s blog (a little earlier than hinted previously) that leads...
  2. First signs of Nimbus designer in JDK 7 A few hours ago an interesting changelist has made its way into the JDK 7...


2 Responses to “Nimbus is getting a new home”

  • Richard Bair Says:

    Actually, it is in com.sun.java.swing.plaf. The bug report (or whatever your source) was incorrect. Just for fun, it used to be in this package originally, then got moved to sun.swing, then has finally moved back :-).

  • Kirill Grouchnikov Says:

    Richard – the source was 6616742. I’m glad to hear that the package is aligned with other LAFs.