< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/macosx/CPopupMenu.java

Print this page

        

@@ -42,10 +42,11 @@
 
     private native long nativeCreatePopupMenu();
     private native long nativeShowPopupMenu(long modelPtr, int x, int y);
 
     @Override
+    @SuppressWarnings("deprecation")
     public void show(Event e) {
         Component origin = (Component)e.target;
         if (origin != null) {
             Point loc = origin.getLocationOnScreen();
             e.x += loc.x;
< prev index next >