<Swing Dev> Swing dev>[10] Review request for JDK-8189253: [macos] JPopupMenu is inadvertently shown when using setComponentPopupMenu

Manajit Halder manajit.halder at oracle.com
Fri Dec 8 13:53:51 UTC 2017

Hi All,

Kindly review the following Swing fix.

Bug: https://bugs.openjdk.java.net/browse/JDK-8189253 <https://bugs.openjdk.java.net/browse/JDK-8189253>
Webrev: http://cr.openjdk.java.net/~mhalder/8189253/webrev.00/ <http://cr.openjdk.java.net/~mhalder/8189253/webrev.00/>

	Issue was due to retargeting of mouse enter exit events. 
	MOUSE_ENTER and MOUSE_EXIT events were sent on the parent window (JFrame) in between MOUSE_PRESS and MOUSE_RELEASE events on the modeless JDialog.

	Retargeting of events is not done in-between MOUSE_PRESS and MOUSE_RELEASE.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20171208/3c6a9e42/attachment.html>

More information about the swing-dev mailing list