Closed GoogleCodeExporter closed 8 years ago
I was relying on the isPopupTrigger method of MouseEvent, but was only checking
this in the
MouseEvent.mousePressed implementation, which is always false on Windows.
The more interesting question here is, should the behavior be the same across
platforms mimicing the Mac
behavior, or should it be platform specific. It's actually easier to have it be
platform specific, as we can then rely
on the isPopupMenu trigger. I'm unaware how to take the mouse button state out
of the equation. It is not a
trivial task to determine the isPopupTrigger flag - on the mac alone it can
involve keystrokes (like the Command
key).
Original comment by kenneth....@gmail.com
on 4 Dec 2008 at 9:06
For now, I'll have the behavior track the platform behavior as it's much
simpler.
Original comment by kenneth....@gmail.com
on 4 Dec 2008 at 9:06
Original issue reported on code.google.com by
kenneth....@gmail.com
on 4 Dec 2008 at 9:01