--- old/src/macosx/native/sun/awt/AWTView.m 2012-08-07 14:17:43.000000000 +0400 +++ new/src/macosx/native/sun/awt/AWTView.m 2012-08-07 14:17:43.000000000 +0400 @@ -229,6 +229,8 @@ } - (void) mouseDragged: (NSEvent *)event { + // synthesize mouse enter/exit events during drag + [AWTWindow synthesizeMouseEnteredExitedEventsForAllWindows]; [self deliverJavaMouseEvent: event]; } @@ -314,7 +316,7 @@ } NSEventType type = [event type]; - + // check synthesized mouse entered/exited events if ((type == NSMouseEntered && mouseIsOver) || (type == NSMouseExited && !mouseIsOver)) { return;