jdk/src/solaris/classes/sun/awt/X11/XEmbeddedFramePeer.java
changeset 129 f995b9c9c5fa
parent 2 90ce3da70b43
child 439 3488710b02f8
equal deleted inserted replaced
128:8be10f1a3d12 129:f995b9c9c5fa
   182         } finally {
   182         } finally {
   183             XToolkit.awtUnlock();
   183             XToolkit.awtUnlock();
   184         }
   184         }
   185     }
   185     }
   186 
   186 
       
   187     @Override
       
   188     Rectangle constrainBounds(int x, int y, int width, int height) {
       
   189         // We don't constrain the bounds of the EmbeddedFrames
       
   190         return new Rectangle(x, y, width, height);
       
   191     }
       
   192 
   187     // don't use getBounds() inherited from XDecoratedPeer
   193     // don't use getBounds() inherited from XDecoratedPeer
   188     public Rectangle getBounds() {
   194     public Rectangle getBounds() {
   189         return new Rectangle(x, y, width, height);
   195         return new Rectangle(x, y, width, height);
   190     }
   196     }
   191 
   197