At 11:25 PM +1200 8/9/02, Alex Shepherd wrote:
Found it - the MouseEvent.isPopupTrigger() needs to be checked in the
Released event not the Pressed
I shifted showPopUp() to the Released event and it works as expected
Thanks! I _never_ would have found that.
Apparently, on a Windows machine you get popup menus when you "click and release"; on a Mac, you "click and hold" to get a popup.
For the future-Java-junkies out there, Java Swing handles this by providing a "isPopUpTrigger()" predicate that varies with the look&feel you're using. But you have to make sure to check it everywhere that it might come true. I was only checking it on some mouse events, not all, hence the problem.
Is this worth another installer right away, or can it wait a little while? I'll probably get to rotating icons, etc, in a few days, can put them out together then, along with whatever fixes the AD4 needs.
Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.