jdk/src/share/classes/java/awt/Container.java
changeset 3971 067e6580a577
parent 3966 0ce65d9e45e2
child 3972 8942e64cf57d
child 4257 c447aed67cec
--- a/jdk/src/share/classes/java/awt/Container.java	Thu Oct 01 14:48:05 2009 +0400
+++ b/jdk/src/share/classes/java/awt/Container.java	Thu Oct 01 15:06:16 2009 +0400
@@ -4111,16 +4111,16 @@
                 mixingLog.fine("this = " + this);
             }
 
-            if (!isMixingNeeded()) {
-                return;
-            }
-
             boolean isLightweight = isLightweight();
 
             if (isLightweight && isRecursivelyVisibleUpToHeavyweightContainer()) {
                 recursiveShowHeavyweightChildren();
             }
 
+            if (!isMixingNeeded()) {
+                return;
+            }
+
             if (!isLightweight || (isLightweight && hasHeavyweightDescendants())) {
                 recursiveApplyCurrentShape();
             }