Daniel L. Pasco <[EMAIL PROTECTED]> writes:

> Figured it out!  The problem wasn't really the drawing operation,
> but the fact that
>
> MouseEvent.isPopupTrigger() works differently under Windows than it
> does under Linux.  I changed my check from e.isPopupTrigger() to
>
> (e.getModifiers() & InputEvent.BUTTON3_MASK) ==
> InputEvent.BUTTON3_MASK)

You might want to use JPopupMenu.isPopupTrigger(MouseEvent e) instead.


        Juergen

--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to