6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
authordcherepanov
Mon, 13 Apr 2009 15:22:12 +0400
changeset 2478 a7e3157c1867
parent 2476 95a94517f011
child 2479 8aec9567a7a3
child 2639 e7429e3a2529
6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win Reviewed-by: art, yan
jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java
jdk/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java
--- a/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java	Wed Apr 01 19:05:47 2009 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java	Mon Apr 13 15:22:12 2009 +0400
@@ -225,6 +225,7 @@
     public void addDropTarget(DropTarget dt) {}
     public void removeDropTarget(DropTarget dt) {}
     public void updateFocusableWindowState() {}
+    public void setZOrder(ComponentPeer above) {}
 
     /**
      * Initialize JNI field and method ids
--- a/jdk/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java	Wed Apr 01 19:05:47 2009 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java	Mon Apr 13 15:22:12 2009 +0400
@@ -27,6 +27,7 @@
 
 import java.awt.*;
 import java.awt.peer.DialogPeer;
+import java.awt.peer.ComponentPeer;
 import java.awt.dnd.DropTarget;
 import java.util.Vector;
 import sun.awt.AppContext;
@@ -137,6 +138,7 @@
     void invalidate(int x, int y, int width, int height) {}
     public void addDropTarget(DropTarget dt) {}
     public void removeDropTarget(DropTarget dt) {}
+    public void setZOrder(ComponentPeer above) {}
 
     /**
      * Initialize JNI field and method ids