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:
- 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...
- First signs of Nimbus designer in JDK 7 A few hours ago an interesting changelist has made its way into the JDK 7...
December 19th, 2007 at 9:42 am
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 :-).
December 19th, 2007 at 10:23 am
Richard – the source was 6616742. I’m glad to hear that the package is aligned with other LAFs.