We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a034d commit 5f8afb2Copy full SHA for 5f8afb2
sources/net.sf.j2s.java.core/src/java/awt/dnd/DropTarget.java
@@ -499,7 +499,7 @@ public void addNotify(ComponentPeer peer) {
499
500
for (Component c = component;
501
c != null && peer instanceof LightweightPeer; c = c.getParent()) {
502
- peer = ((JSComponent) c).getOrCreatePeer(); // SwingJS was getPeer(), but this is only if attached.
+ peer = /** @j2sNative c.peer || */null;//((JSComponent) c).peer;//getPeer(); // SwingJS was getPeer(), but this is only if attached.
503
}
504
505
//if (peer instanceof DropTargetPeer) {
0 commit comments