4105 double x, double y, double w, double h) 4106 { 4107 return window.calculateSecurityWarningPosition(x, y, w, h); 4108 } 4109 4110 public void setLWRequestStatus(Window changed, boolean status) { 4111 changed.syncLWRequests = status; 4112 } 4113 4114 public boolean isAutoRequestFocus(Window w) { 4115 return w.autoRequestFocus; 4116 } 4117 4118 public boolean isTrayIconWindow(Window w) { 4119 return w.isTrayIconWindow; 4120 } 4121 4122 public void setTrayIconWindow(Window w, boolean isTrayIconWindow) { 4123 w.isTrayIconWindow = isTrayIconWindow; 4124 } 4125 }); // WindowAccessor 4126 } // static 4127 4128 // a window doesn't need to be updated in the Z-order. 4129 @Override 4130 void updateZOrder() {} 4131 4132 } // class Window 4133 4134 4135 /** 4136 * This class is no longer used, but is maintained for Serialization 4137 * backward-compatibility. 4138 */ 4139 class FocusManager implements java.io.Serializable { 4140 Container focusRoot; 4141 Component focusOwner; 4142 4143 /* 4144 * JDK 1.1 serialVersionUID | 4105 double x, double y, double w, double h) 4106 { 4107 return window.calculateSecurityWarningPosition(x, y, w, h); 4108 } 4109 4110 public void setLWRequestStatus(Window changed, boolean status) { 4111 changed.syncLWRequests = status; 4112 } 4113 4114 public boolean isAutoRequestFocus(Window w) { 4115 return w.autoRequestFocus; 4116 } 4117 4118 public boolean isTrayIconWindow(Window w) { 4119 return w.isTrayIconWindow; 4120 } 4121 4122 public void setTrayIconWindow(Window w, boolean isTrayIconWindow) { 4123 w.isTrayIconWindow = isTrayIconWindow; 4124 } 4125 4126 public Window[] getOwnedWindows(Window w) { 4127 return w.getOwnedWindows_NoClientCode(); 4128 } 4129 }); // WindowAccessor 4130 } // static 4131 4132 // a window doesn't need to be updated in the Z-order. 4133 @Override 4134 void updateZOrder() {} 4135 4136 } // class Window 4137 4138 4139 /** 4140 * This class is no longer used, but is maintained for Serialization 4141 * backward-compatibility. 4142 */ 4143 class FocusManager implements java.io.Serializable { 4144 Container focusRoot; 4145 Component focusOwner; 4146 4147 /* 4148 * JDK 1.1 serialVersionUID |