< prev index next >

src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java

Print this page

        

@@ -3052,10 +3052,11 @@
             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();
< prev index next >