@Override protected int postDropTargetEvent(Component component, int x, int y, int dropAction, int actions, long[] formats, long nativeCtxt, int eventID, boolean dispatchType) { // On MacOS X all the DnD events should be synchronous return super.postDropTargetEvent(component, x, y, dropAction, actions, formats, nativeCtxt, eventID, SunDropTargetContextPeer.DISPATCH_SYNC); }