Refine search
private static boolean isWindowsLaF() { String lfID = UIManager.getLookAndFeel().getID(); return lfID.endsWith("Windows"); //NOI18N }
static boolean isAquaLF() { return "Aqua".equals( UIManager.getLookAndFeel().getID() ); //NOI18N } }
static boolean isNimbus () { return "Nimbus".equals(UIManager.getLookAndFeel().getID()); }
private static boolean isAquaLaF() { return "Aqua".equals(UIManager.getLookAndFeel().getID()); }
private static boolean isGTKLaF () { return "GTK".equals( UIManager.getLookAndFeel().getID() ); //NOI18N }
static boolean isAqua () { return "Aqua".equals(UIManager.getLookAndFeel().getID()); }
static boolean isGTK () { return "GTK".equals(UIManager.getLookAndFeel().getID()); }
return UIManager.getLookAndFeel().getID().equals("Windows"); System.out.println(UIManager.getLookAndFeel().getClass()); System.out.println("Windows classic is initially: " + isWindowsClassicLAF());
if ((getBorder() == null) || "GTK".equals(UIManager.getLookAndFeel().getID())) {
if ("Aqua".equals(UIManager.getLookAndFeel().getID())) { //NOI18N if (popupMenu != null) { final JPopupMenu dummy = new JPopupMenu();
/** * Checks and answers whether an Aqua look&feel is active. * This may be Apple's Aqua L&f, or a sub-L&f that * uses the same ID, because it doesn't substantially change the look. * * @return {@code true} if the current look&feel is Aqua-like * * @since 1.8 */ public static boolean isLafAqua() { return UIManager.getLookAndFeel().getID().equals("Aqua"); }
/** * {@inheritDoc} */ @Override protected boolean matches() { return UIManager.getLookAndFeel().getID().equals("Nimbus"); } }
/** * * @return true if the LF is GTK. */ private boolean isGTK() { return "GTK".equals(UIManager.getLookAndFeel().getID()); }
public static boolean isMotifLookAndFeel() { // is current L&F some kind of GTKLookAndFeel? return UIManager.getLookAndFeel().getID().equals("Motif"); //NOI18N } }
/** * {@inheritDoc} */ @Override protected boolean matches() { return UIManager.getLookAndFeel().getID().equals("Motif"); } }
/** * * @return true if the LF is GTK. */ private boolean isGTK() { return "GTK".equals(UIManager.getLookAndFeel().getID()); }
/** * * @return true if the LF is GTK. */ private boolean isGTK() { return "GTK".equals(UIManager.getLookAndFeel().getID()); }
/** * * @return true if the LF is GTK. */ private boolean isGTK() { return "GTK".equals(UIManager.getLookAndFeel().getID()); }
/** * Computes and answers whether an Aqua look&feel is active. * This may be Apple's Aqua L&f, or a sub-L&f that * uses the same ID, because it doesn't substantially change the look. * * @return true if the current look&feel is Aqua */ private static boolean computeIsLafAqua() { return UIManager.getLookAndFeel().getID().equals("Aqua"); }
/** * {@inheritDoc} */ @Override protected boolean matches() { return UIManager.getLookAndFeel().getID().equals("Motif"); } }