🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16542

Re: Mouse right click

#16542
From: Jeff Rafter
Date: Wed, 10 Feb 1999 00:00
13 lines
985 bytes
George

You need to call MouseEvent.getModifiers() and check for BUTTON3_MASK.
Mouse events also used to map to keys (I don't know if this is still true?).
The meta key (alt) use to map to the right mouse button and the control key
used to map to the middle mouse button.

Therefore you might be able to check MouseEvent.isMetaDown().

Good Luck,
Jeff Rater
Realsoft Development
www.realsoftdev.com
Technical Details
Message-ID: <79t542$dh811@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <79pci8$4h516@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,dd0d5cdcde119dd9
X-Google-Attributes: gidf74b3,public
From: "Jeff Rafter" <jeffrafter@earthlink.net>
Subject: Re: Mouse right click
Date: 1999/02/10
Message-ID: <79t542$dh811@forums.borland.com>
X-Deja-AN: 443005882
References: <79pci8$4h516@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Organization: Realsoft Development
X-MSMail-Priority: Normal
Reply-To: "Jeff Rafter" <jeffrafter@earthlink.net>
Newsgroups: borland.public.jbuilder.java.language