I notice this comment in LWWindowPeer: // TODO: currently, mouse released event goes to the same component // that received corresponding mouse pressed event. For most cases, // it's OK, however, we need to make sure that our behavior is consistent // with 1.6 for cases where component in question have been // hidden/removed in between of mouse pressed/released events.
and I have observed this behavior when clicking and releasing a mouse button over a tooltip (the tooltip is hidden and no mouse released event is dispatched). By my reading of the spec <http://download.java.net/java/jdk9/docs/api/java/awt/event/MouseEvent.html>, this is a bug. Should I file a bug report? Alan
