Nimbus Look-and-Feel in JDK 7

The Nimbus look-and-feel for Swing was introduced in JDK 6u10 as a replacement for the old Metal LoF. With JDK 7, Nimbus will be moved from an Oracle-proprietary extension ( to a standard API (javax.swing) so that it becomes a true first class Swing citizen.

However, we do not plan to make it the default (platform-independent) LoF. Nimbus looks much better than Metal, so this is very tempting, but we have concluded that it would break too many existing applications. We are aware that this goes against the desire expressed in previous polls and we hope that the community can forgive us for wanting to err on the side of caution.

We recommend that you explicitly choose Nimbus in your source code (or configuration) to ensure that your applications look really good with JDK 7. For more info, see the tutorial.


Nimbus would be a good l&f. But fonts kills it. Arial aargh.

Posted by afsina on November 08, 2010 at 07:40 PM PST #

At for Rolling Thunder we use Nimbus as the default but still offer Substance, Metal and other look and feels. Our next release will allow the user to save default look and feel to what they choose from the list of look and feels so that from anywhere on the internet they will get the look and feel they set rather than just the desktop they last worked at. I am hoping in the future Oracle offers JavaFX look and feel for all the GUI controls not the few that are currently offered. Nimbus still is good for what it does. Regards, Tony Anecito Founder/CEO MyUniPortal

Posted by Tony Anecito on November 09, 2010 at 05:18 AM PST #

definitely a phantastic laf... could the move be used to polish some parts a bit? the idea that you could easily adapt its colour-scheme, for instance, is great, however it is not easy to get good results. for professional audio-video apps, it would be nice to have an easy way to get a descent looking dark look-and-feel. i couldn't solve this with different ui-defaults for nimbus. the only two existing good looking lafs with dark theme are substance (raven graphite) -- which is overloaded with cpu-heavy stuff such as the animations --, and synthetica black-eye, which is neither open-source nor can be distributed with open-source projects...

Posted by ItemState on November 11, 2010 at 09:03 AM PST #

Good one bro keep it up

Posted by anehra63 on November 11, 2010 at 02:31 PM PST #

looking into it fan of java

Posted by neo on November 11, 2010 at 03:30 PM PST #

It's a shame that Nimbus will remain an option rather than being the default - it really is a much better looking laf than Metal.

Posted by Ben on November 11, 2010 at 10:01 PM PST #

We'll we here in the company uses our system LaF which is the windows LaF because the company wants it that way, but perhaps if I will introduce to them the Nimbus LaF, I hope they'll like it; I like the Nimbus LaF though.

Posted by Backlinks Philippines on November 15, 2010 at 08:20 AM PST #

To be honest, Nimbus doesn't looks like the best LaF, you had better radically improve or redesign before it released in JDK7. Awful ScrollBars!!!11 Fonts should be replaced, color scheme needs to be improved(selected items has no pretty view). All the elements slightly bigger then needs. The corners of the tabs too soft, and tabs in generally very big. Spinner - types of left and right corner are different, no harmonic view.

Posted by Yuri on November 20, 2010 at 03:02 AM PST #

It's good to see Nimbus mature. However I wonder how easy it will be to integrate JavaFX 2.0 components in existing Swing apps with the Nimbus laf. Will it be easy to style these JavaFx components to look like Nimbus, i.e. will there be default css to mimic Nimbus?

Posted by Pieter-Jan on November 21, 2010 at 01:03 AM PST #

Actually, i used to experiment with look-and-feel in Java API. Also, i would say that it's an amazing LoF.

Posted by Narorm Mayoeurn on November 25, 2010 at 01:55 PM PST #

Metal for me is much much better than Nimbus. for RTL applications, Nimbus has tons of problems everywhere. in addition, i feel it is a child look and feel more than a professional one. in addition, it is very dark. simply it cannot replace the Metal look and feel.

Posted by guest on May 22, 2011 at 02:46 PM PDT #

I don't use Nimbus in my projects for the sole reason that it doesn't have decorations for top level windows.

It would be useful if you could do setDefaultLookAndFeelDecorated(true) and have on the top level frame the same decorations you can see in child frames (MDI windows, dialogs, etc).

IMHO, this is the MAJOR no-no for Nimbus.

Posted by guest on July 05, 2011 at 08:29 AM PDT #

Post a Comment:
Comments are closed for this entry.

Henrik Stahl is VP of Product Management in the Java Platform Group at Oracle, and is responsible for product strategy for Java ME and SE.


« December 2016