src/share/classes/sun/awt/dnd/SunDragSourceContextPeer.java

Print this page

        

*** 276,286 **** /** * upcall from native code */ ! private void dragEnter(final int targetActions, final int modifiers, final int x, final int y) { postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_ENTER); } --- 276,286 ---- /** * upcall from native code */ ! protected void dragEnter(final int targetActions, final int modifiers, final int x, final int y) { postDragSourceDragEvent(targetActions, modifiers, x, y, DISPATCH_ENTER); }
*** 354,367 **** dragImageOffset = null; } public static void setDragDropInProgress(boolean b) throws InvalidDnDOperationException { - if (dragDropInProgress == b) { - throw new InvalidDnDOperationException(getExceptionMessage(b)); - } - synchronized (SunDragSourceContextPeer.class) { if (dragDropInProgress == b) { throw new InvalidDnDOperationException(getExceptionMessage(b)); } dragDropInProgress = b; --- 354,363 ----