jdk/src/solaris/classes/sun/awt/X11/XEmbeddedFramePeer.java
changeset 2643 ea218b1a2000
parent 1974 1e1487c04864
child 3938 ef327bd847c0
equal deleted inserted replaced
2642:d08c8f125592 2643:ea218b1a2000
   194         } finally {
   194         } finally {
   195             XToolkit.awtUnlock();
   195             XToolkit.awtUnlock();
   196         }
   196         }
   197     }
   197     }
   198 
   198 
   199     @Override
       
   200     Rectangle constrainBounds(int x, int y, int width, int height) {
       
   201         // We don't constrain the bounds of the EmbeddedFrames
       
   202         return new Rectangle(x, y, width, height);
       
   203     }
       
   204 
       
   205     // don't use getBounds() inherited from XDecoratedPeer
   199     // don't use getBounds() inherited from XDecoratedPeer
   206     public Rectangle getBounds() {
   200     public Rectangle getBounds() {
   207         return new Rectangle(x, y, width, height);
   201         return new Rectangle(x, y, width, height);
   208     }
   202     }
   209 
   203