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

Print this page

        

*** 656,667 **** private transient Object objectLock = new Object(); Object getObjectLock() { return objectLock; } - boolean isPacked = false; - /** * Pseudoparameter for direct Geometry API (setLocation, setBounds setSize * to signal setBounds what's changing. Should be used under TreeLock. * This is only needed due to the inability to change the cross-calling * order of public and deprecated methods. --- 656,665 ----
*** 1554,1565 **** * @deprecated As of JDK version 1.1, * replaced by <code>setVisible(boolean)</code>. */ @Deprecated public void hide() { - isPacked = false; - if (visible) { clearCurrentFocusCycleRootOnHide(); clearMostRecentFocusOwnerOnHide(); synchronized (getTreeLock()) { visible = false; --- 1552,1561 ----
*** 2112,2125 **** this.x = x; this.y = y; this.width = width; this.height = height; - if (resized) { - isPacked = false; - } - boolean needNotify = true; mixOnReshaping(); if (peer != null) { // LightwightPeer is an empty stub so can skip peer.reshape if (!(peer instanceof LightweightPeer)) { --- 2108,2117 ----