Ed,
I found that on the mac (using a powerbook at least) that I had to use an
external mouse - using an external mouse the OMGraphicHandlerLayer caught
the right click just fine.
Bob
On Sat, 18 Dec 2004, Mirek Pawlowski wrote:
> Peter Solderitsch wrote:
>
> >Ed,
> >
> >This has something to do with the OpenMap mouse handling code not using best practices in determining what triggers a "right click". In MouseEvent there's a method called "isPopupTrigger" (or something similar), which provides a platform-independent way to figure out if a "right-click-like" behavior was triggered.. though I forget the exact method name. The last time I looked at the relevant OpenMap mouse-related source code, it wasn't using that platform-independent method, but was looking for a particular button click instead.
> >
> >I can follow up on Monday if need be when I have the code in front of me.
> >
> >-Peter
> >
> >
> >
> Read javadoc for MouseEvent method isPopupTrigger(). It says you have to
> check it both in mousePressed and mouseReleased openmap methods.
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]
>
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sat Dec 18 2004 - 20:51:49 EST