src/windows/classes/sun/awt/windows/WFramePeer.java

Print this page




 183         if (target.getTitle() != null) {
 184             setTitle(target.getTitle());
 185         }
 186         setResizable(target.isResizable());
 187         setState(target.getExtendedState());
 188     }
 189 
 190     private native static int getSysMenuHeight();
 191 
 192     native void pSetIMMOption(String option);
 193     void notifyIMMOptionChange(){
 194       InputMethodManager.getInstance().notifyChangeRequest((Component)target);
 195     }
 196 
 197     public void setBoundsPrivate(int x, int y, int width, int height) {
 198         setBounds(x, y, width, height, SET_BOUNDS);
 199     }
 200     public Rectangle getBoundsPrivate() {
 201         return getBounds();
 202     }







 203 }


 183         if (target.getTitle() != null) {
 184             setTitle(target.getTitle());
 185         }
 186         setResizable(target.isResizable());
 187         setState(target.getExtendedState());
 188     }
 189 
 190     private native static int getSysMenuHeight();
 191 
 192     native void pSetIMMOption(String option);
 193     void notifyIMMOptionChange(){
 194       InputMethodManager.getInstance().notifyChangeRequest((Component)target);
 195     }
 196 
 197     public void setBoundsPrivate(int x, int y, int width, int height) {
 198         setBounds(x, y, width, height, SET_BOUNDS);
 199     }
 200     public Rectangle getBoundsPrivate() {
 201         return getBounds();
 202     }
 203 
 204     // TODO: implement it in peers. WLightweightFramePeer may implement lw version.
 205     public void emulateActivation(boolean activate) {
 206         synthesizeWmActivate(activate);
 207     }
 208     
 209     private native void synthesizeWmActivate(boolean activate);
 210 }