Exemple #1
0
 static boolean hasOpaqueBeenExplicitlySet(final JComponent c) {
   final Method method = getJComponentGetFlagMethod.get();
   if (method == null) return false;
   try {
     return Boolean.TRUE.equals(method.invoke(c, OPAQUE_SET_FLAG));
   } catch (final Throwable ignored) {
     return false;
   }
 }
Exemple #2
0
 private static boolean animationsEnabled() {
   return enableAnimations.get();
 }
Exemple #3
0
 static Creator getCImageCreator() {
   return cImageCreator.get();
 }