< prev index next >

src/java.desktop/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java

Print this page

        

*** 521,530 **** --- 521,531 ---- * Returns true if the component has heavyweight children. * * @param comp component to check for hw children * @return true if Component has heavyweight children */ + @SuppressWarnings("deprecation") private static boolean hasHWChildren(Component comp) { if (comp instanceof Container) { for (Component c : ((Container)comp).getComponents()) { if (c.getPeer() instanceof WComponentPeer || hasHWChildren(c)) { return true;
< prev index next >