< prev index next >

src/java.desktop/share/classes/javax/swing/UIManager.java

Print this page

        

@@ -1434,10 +1434,11 @@
     }
 
     /*
      * Sets default swing focus traversal policy.
      */
+    @SuppressWarnings("deprecation")
     private static void maybeInitializeFocusPolicy(JComponent comp) {
         // Check for JRootPane which indicates that a swing toplevel
         // is coming, in which case a swing default focus policy
         // should be instatiated. See 7125044.
         if (comp instanceof JRootPane) {
< prev index next >