Here you can find the source of isNimbusLookAndFeel()
private static final boolean isNimbusLookAndFeel()
//package com.java2s; /*/*from ww w. j av a2 s .co m*/ * 08/13/2009 * * TipUtil.java - Utility methods for homemade tool tips. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ import javax.swing.UIManager; public class Main { /** * Returns whether the Nimbus Look and Feel is installed. * * @return Whether the current LAF is Nimbus. */ private static final boolean isNimbusLookAndFeel() { return UIManager.getLookAndFeel().getName().equals("Nimbus"); } }