提交 3edfa1d6 编写于 作者: D dcherepanov

6829326: Getting java.lang.NullPointerException: null pData while opening a...

6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
Reviewed-by: art, yan
上级 49b70109
......@@ -225,6 +225,7 @@ public class WFileDialogPeer extends WWindowPeer implements FileDialogPeer {
public void addDropTarget(DropTarget dt) {}
public void removeDropTarget(DropTarget dt) {}
public void updateFocusableWindowState() {}
public void setZOrder(ComponentPeer above) {}
/**
* Initialize JNI field and method ids
......
......@@ -27,6 +27,7 @@ package sun.awt.windows;
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 @@ public class WPrintDialogPeer extends WWindowPeer implements DialogPeer {
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册