Java Utililty Methods Swing Look and Feel

List of utility methods to do Swing Look and Feel

Description

The list of methods to do Swing Look and Feel are organized into topic(s).

Method

booleanisNimbus()
Determines if current L&F is Nimbus or GTK with Nimbus theme
return isNimbusLookAndFeel() || isNimbusGTKTheme();
booleanisNimbus()
Determines if current L&F is Nimbus or GTK with Nimbus theme
return isNimbusLookAndFeel() || isNimbusGTKTheme();
booleanisNimbus()
Determines if current L&F is Nimbus or GTK with Nimbus theme
return isNimbusLookAndFeel() || isNimbusGTKTheme();
booleanisNimbusGTKTheme()
Determines if current L&F is GTK using Nimbus theme
return isGTKLookAndFeel()
        && "nimbus".equals(Toolkit.getDefaultToolkit().getDesktopProperty("gnome.Net/ThemeName")); 
booleanisNimbusLookAndFeel()
Returns whether the Nimbus Look and Feel is installed.
return UIManager.getLookAndFeel().getName().equals("Nimbus");
booleanisNimbusLookAndFeel()
Returns true if the Nimbus look and feel is used.
return NIMBUS.equalsIgnoreCase(UIManager.getLookAndFeel().getName());
booleanisPlasticLaf()
is Plastic Laf
LookAndFeel laf = UIManager.getLookAndFeel();
return laf != null && laf.getClass().getName().startsWith(JGOODIES_PACKAGE);
booleanisQuaqua()
Tests if the look and feel is Quaqua, which we use on Mac to get better look and feel for Mac.
return "ch.randelshofer.quaqua.QuaquaLookAndFeel".equals(UIManager.getLookAndFeel().getClass().getName());
booleanisSubstanceInstalled()
Returns whether the currently installed LookAndFeel is Substance.
return isASubstanceLookAndFeel(UIManager.getLookAndFeel());
booleanisSynth()
is Synth
return "SynthLookAndFeel".equals(UIManager.getLookAndFeel().getClass().getSimpleName());