--- 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();
}