<AWT Dev> [9] Review request for 8134917 [macosx] JOptionPane doesn't receive mouse events when opened from a drop event

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Thu Sep 24 12:47:04 UTC 2015

On 9/24/2015 3:28 PM, Sergey Bylokhov wrote:
> I wonder why this code actually fixed the previous problem? because 
> NSApplicationDefined used as a mask did not cover the 
> NSApplicationDefinedMask.
     Because NSApplicationAWT overrides - sendEvent: method end filters 
NSApplicationDefined events out there.


> On 24.09.15 14:23, Alexander Scherbatiy wrote:
>>    The fix corrects the typo introducing by the fix  JDK-8068886 that
>> NSApplicationDefined constant is used instead of the corresponding mask
>> for events filtering.

More information about the awt-dev mailing list