Article View: borland.public.jbuilder.java.api
Article #817Re: how can I catch right click even of mouse
From: John McGrath TeamB
Date: Tue, 19 Nov 2002 12:59
Date: Tue, 19 Nov 2002 12:59
15 lines
1331 bytes
1331 bytes
On Tue, 19 Nov 2002 18:29:14 +0800, Freeisall wrote:
> how can I catch right click even of mouse
Add a MouseListener to the component. Examine the MouseEvent object
passed to the handled to see if the event is a right-click.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.1843ffb1223c208298bb61@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3dda1279$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d699dd1c888a5db1 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-11-19 05:25:36 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: how can I catch right click even of mouse Date: Tue, 19 Nov 2002 07:59:22 -0500 Message-ID: <MPG.1843ffb1223c208298bb61@newsgroups.borland.com> References: <3dda1279$1@newsgroups.borland.com> X-Newsreader: MicroPlanet Gravity v2.60 NNTP-Posting-Host: 151.197.228.67 X-Trace: newsgroups.borland.com 1037710761 151.197.228.67 (19 Nov 2002 04:59:21 -0800) Lines: 15 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail