src/share/classes/java/awt/Component.java

Print this page

        

*** 10068,10082 **** } return false; } Window window = getContainingWindow(); if (window != null) { ! if (!window.hasHeavyweightDescendants() || !window.hasLightweightDescendants()) { if (mixingLog.isLoggable(PlatformLogger.FINE)) { mixingLog.fine("containing window = " + window + "; has h/w descendants = " + window.hasHeavyweightDescendants() + ! "; has l/w descendants = " + window.hasLightweightDescendants()); } return false; } } else { if (mixingLog.isLoggable(PlatformLogger.FINE)) { --- 10068,10083 ---- } return false; } Window window = getContainingWindow(); if (window != null) { ! if (!window.hasHeavyweightDescendants() || !window.hasLightweightDescendants() || window.isDisposing()) { if (mixingLog.isLoggable(PlatformLogger.FINE)) { mixingLog.fine("containing window = " + window + "; has h/w descendants = " + window.hasHeavyweightDescendants() + ! "; has l/w descendants = " + window.hasLightweightDescendants() + ! "; disposing = " + window.isDisposing()); } return false; } } else { if (mixingLog.isLoggable(PlatformLogger.FINE)) {