Java Swing Look and Feel isNimbusLookAndFeel()

Here you can find the source of isNimbusLookAndFeel()

Description

Returns true if the Nimbus look and feel is used.

License

Open Source License

Return

boolean

Declaration

public static final boolean isNimbusLookAndFeel() 

Method Source Code


//package com.java2s;

import javax.swing.UIManager;

public class Main {
    /** The Nimbus look and feel name */
    public static final String NIMBUS = "Nimbus";

    /**//w w  w  .ja v a 2  s.  c o m
     * Returns true if the Nimbus look and feel is used.
     * @return boolean
     */
    public static final boolean isNimbusLookAndFeel() {
        return NIMBUS.equalsIgnoreCase(UIManager.getLookAndFeel().getName());
    }
}

Related

  1. isNativeMacLookAndFeel()
  2. isNimbus()
  3. isNimbus()
  4. isNimbus()
  5. isNimbusGTKTheme()
  6. isNimbusLookAndFeel()
  7. isPlasticLaf()
  8. isQuaqua()
  9. isSubstanceInstalled()