src/java.desktop/share/classes/java/awt/Container.java
changeset 50917 55a43beaa529
parent 49771 07556bea9c5c
child 52752 5e7dba63836d
equal deleted inserted replaced
50916:2f9a0c4fcf58 50917:55a43beaa529
    20  *
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
       
    25 
    25 package java.awt;
    26 package java.awt;
    26 
    27 
    27 import java.awt.dnd.DropTarget;
    28 import java.awt.dnd.DropTarget;
    28 
    29 
    29 import java.awt.event.*;
    30 import java.awt.event.*;
  1170             }
  1171             }
  1171         }
  1172         }
  1172     }
  1173     }
  1173 
  1174 
  1174     @Override
  1175     @Override
  1175     boolean updateGraphicsData(GraphicsConfiguration gc) {
  1176     final boolean updateChildGraphicsData(GraphicsConfiguration gc) {
  1176         checkTreeLock();
  1177         checkTreeLock();
  1177 
  1178 
  1178         boolean ret = super.updateGraphicsData(gc);
  1179         boolean ret = false;
  1179 
  1180 
  1180         for (Component comp : component) {
  1181         for (Component comp : component) {
  1181             if (comp != null) {
  1182             if (comp != null) {
  1182                 ret |= comp.updateGraphicsData(gc);
  1183                 ret |= comp.updateGraphicsData(gc);
  1183             }
  1184             }