changeset 1072:73f0e751b669

6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win Reviewed-by: art, yan
author dcherepanov
date Mon, 13 Apr 2009 15:22:12 +0400
parents 1cb2e3e0631f
children 6a789813407d 8dd1c3eb1288
files src/windows/classes/sun/awt/windows/WFileDialogPeer.java src/windows/classes/sun/awt/windows/WPrintDialogPeer.java
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/classes/sun/awt/windows/WFileDialogPeer.java	Wed Apr 01 19:05:47 2009 +0400
+++ b/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/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java	Wed Apr 01 19:05:47 2009 +0400
+++ b/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