--- a/jdk/src/solaris/classes/sun/awt/X11/XLightweightFramePeer.java Mon Aug 11 10:42:51 2014 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XLightweightFramePeer.java Tue Aug 12 14:22:05 2014 +0400
@@ -26,6 +26,7 @@
package sun.awt.X11;
import java.awt.Graphics;
+import java.awt.dnd.DropTarget;
import sun.awt.LightweightFrame;
import sun.swing.JLightweightFrame;
@@ -69,4 +70,14 @@
public void updateCursorImmediately() {
SwingAccessor.getJLightweightFrameAccessor().updateCursor((JLightweightFrame)getLwTarget());
}
+
+ @Override
+ public void addDropTarget(DropTarget dt) {
+ getLwTarget().addDropTarget(dt);
+ }
+
+ @Override
+ public void removeDropTarget(DropTarget dt) {
+ getLwTarget().removeDropTarget(dt);
+ }
}