< prev index next >

src/solaris/classes/sun/awt/motif/MWindowPeer.java

Print this page
rev 1556 : 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window
Reviewed-by: anthony, tdv, alexp


 597 
 598         return new Rectangle(newX, newY, newW, newH);
 599     }
 600 
 601     public void setBounds(int x, int y, int width, int height, int op) {
 602         Rectangle newBounds = constrainBounds(x, y, width, height);
 603         super.setBounds(newBounds.x, newBounds.y, newBounds.width, newBounds.height, op);
 604     }
 605 
 606     @Override
 607     public void setOpacity(float opacity) {
 608         // not implemented
 609     }
 610 
 611     @Override
 612     public void setOpaque(boolean isOpaque) {
 613         // no-op
 614     }
 615 
 616     @Override
 617     public void updateWindow(BufferedImage backBuffer) {
 618         // no-op
 619     }
 620 
 621     public void repositionSecurityWarning() {
 622         // not implemented
 623     }
 624 
 625 }


 597 
 598         return new Rectangle(newX, newY, newW, newH);
 599     }
 600 
 601     public void setBounds(int x, int y, int width, int height, int op) {
 602         Rectangle newBounds = constrainBounds(x, y, width, height);
 603         super.setBounds(newBounds.x, newBounds.y, newBounds.width, newBounds.height, op);
 604     }
 605 
 606     @Override
 607     public void setOpacity(float opacity) {
 608         // not implemented
 609     }
 610 
 611     @Override
 612     public void setOpaque(boolean isOpaque) {
 613         // no-op
 614     }
 615 
 616     @Override
 617     public void updateWindow() {
 618         // no-op
 619     }
 620 
 621     public void repositionSecurityWarning() {
 622         // not implemented
 623     }
 624 
 625 }
< prev index next >