< prev index next >

src/java.desktop/share/classes/java/awt/Container.java

Print this page

        

*** 803,812 **** --- 803,813 ---- /** * Traverses the tree of components and reparents children heavyweight component * to new heavyweight parent. * @since 1.5 */ + @SuppressWarnings("deprecation") private void reparentTraverse(ContainerPeer parentPeer, Container child) { checkTreeLock(); for (int i = 0; i < child.getComponentCount(); i++) { Component comp = child.getComponent(i);
*** 826,835 **** --- 827,837 ---- /** * Reparents child component peer to this container peer. * Container must be heavyweight. * @since 1.5 */ + @SuppressWarnings("deprecation") private void reparentChild(Component comp) { checkTreeLock(); if (comp == null) { return; }
*** 4187,4196 **** --- 4189,4199 ---- ((Container)comp).recursiveApplyCurrentShape(); } } } + @SuppressWarnings("deprecation") private void recursiveShowHeavyweightChildren() { if (!hasHeavyweightDescendants() || !isVisible()) { return; } for (int index = 0; index < getComponentCount(); index++) {
*** 4208,4217 **** --- 4211,4221 ---- } } } } + @SuppressWarnings("deprecation") private void recursiveHideHeavyweightChildren() { if (!hasHeavyweightDescendants()) { return; } for (int index = 0; index < getComponentCount(); index++) {
*** 4229,4238 **** --- 4233,4243 ---- } } } } + @SuppressWarnings("deprecation") private void recursiveRelocateHeavyweightChildren(Point origin) { for (int index = 0; index < getComponentCount(); index++) { Component comp = getComponent(index); if (comp.isLightweight()) { if (comp instanceof Container &&
< prev index next >