Beispiel #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;
   }
 }
Beispiel #2
0
 private static boolean animationsEnabled() {
   return enableAnimations.get();
 }
Beispiel #3
0
 static Creator getCImageCreator() {
   return cImageCreator.get();
 }