src/solaris/classes/sun/awt/X11/XFramePeer.java

Print this page




 624             }
 625             if (hasDecorations(XWindowAttributesData.AWT_DECOR_TITLE)) {
 626                 menubarY += BUTTON_H;
 627             }
 628             try {
 629                 ng.translate(menubarX, menubarY);
 630                 peer.print(ng);
 631             } finally {
 632                 ng.dispose();
 633             }
 634         }
 635     }
 636 
 637     public void setBoundsPrivate(int x, int y, int width, int height) {
 638         setBounds(x, y, width, height, SET_BOUNDS);
 639     }
 640 
 641     public Rectangle getBoundsPrivate() {
 642         return getBounds();
 643     }


 644 }


 624             }
 625             if (hasDecorations(XWindowAttributesData.AWT_DECOR_TITLE)) {
 626                 menubarY += BUTTON_H;
 627             }
 628             try {
 629                 ng.translate(menubarX, menubarY);
 630                 peer.print(ng);
 631             } finally {
 632                 ng.dispose();
 633             }
 634         }
 635     }
 636 
 637     public void setBoundsPrivate(int x, int y, int width, int height) {
 638         setBounds(x, y, width, height, SET_BOUNDS);
 639     }
 640 
 641     public Rectangle getBoundsPrivate() {
 642         return getBounds();
 643     }
 644     
 645     public void emulateActivation(boolean doActivate) {}
 646 }