< prev index next >

src/java.desktop/share/classes/javax/swing/text/ParagraphView.java

Print this page

        

@@ -69,10 +69,11 @@
                         i18nStrategy = loader.loadClass(classname);
                     } else {
                         i18nStrategy = Class.forName(classname);
                     }
                 }
+                @SuppressWarnings("deprecation")
                 Object o = i18nStrategy.newInstance();
                 if (o instanceof FlowStrategy) {
                     strategy = (FlowStrategy) o;
                 }
             } catch (Throwable e) {
< prev index next >