src/windows/classes/sun/awt/windows/WPrintDialog.java

Print this page

        

@@ -51,10 +51,11 @@
     }
 
     // Use native code to circumvent access restrictions on Component.peer
     protected native void setPeer(ComponentPeer peer);
 
+    @SuppressWarnings("deprecation")
     public void addNotify() {
         synchronized(getTreeLock()) {
             Container parent = getParent();
             if (parent != null && parent.getPeer() == null) {
                 parent.addNotify();