*** 3052,3061 **** --- 3052,3062 ---- return false; } return (wto != wfrom); } + @SuppressWarnings("deprecation") static Component getHeavyweight(Component comp) { if (comp == null || comp.getPeer() == null) { return null; } else if (comp.getPeer() instanceof LightweightPeer) { return comp.getNativeContainer();