equal
deleted
inserted
replaced
201 if (((JComponent)c).getClientProperty( |
201 if (((JComponent)c).getClientProperty( |
202 PopupFactory_FORCE_HEAVYWEIGHT_POPUP) == Boolean.TRUE) { |
202 PopupFactory_FORCE_HEAVYWEIGHT_POPUP) == Boolean.TRUE) { |
203 popupType = HEAVY_WEIGHT_POPUP; |
203 popupType = HEAVY_WEIGHT_POPUP; |
204 break; |
204 break; |
205 } |
205 } |
206 } else if (c instanceof Window) { |
|
207 Window w = (Window) c; |
|
208 if (!w.isOpaque() || w.getOpacity() < 1 || w.getShape() != null) { |
|
209 popupType = HEAVY_WEIGHT_POPUP; |
|
210 break; |
|
211 } |
|
212 } |
206 } |
213 c = c.getParent(); |
207 c = c.getParent(); |
214 } |
208 } |
215 |
209 |
216 return popupType; |
210 return popupType; |