< prev index next >

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

Print this page

        

@@ -377,10 +377,11 @@
                 e.setSource(parent);
                 ((MenuComponent)parent).dispatchEvent(e);
             }
 
         } else { // backward compatibility
+            @SuppressWarnings("deprecation")
             Event olde = e.convertToOld();
             if (olde != null) {
                 postEvent(olde);
             }
         }
< prev index next >