| Abstract mouse listener that supports showing a popup menu.
If subclasses override mousePressed() or mouseReleased(), they should
first call the superclass method so that the popup will be shown correctly.
Because of platform differences, we must check for popup trigger both
when the mouse is pressed and when it is released.
|