🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2289

Re: Double Click HELP

#2289
From: John McGrath TeamB
Date: Sat, 21 Apr 2001 03:36
15 lines
1219 bytes
On Fri, 20 Apr 2001 13:10:02 -0400, Vilasack  Phothisan wrote:

> How do I detect a mouse double click on an object or component?

Add a listener to the object.  In the mouseClicked() method check the 
value of mouseEvent.getClickCount().

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.154ab72cfab97cd098a13d@forums.borland.com>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3ae06d0c$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,8105cf15b8b9c4f0
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-04-20 20:44:01 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Double Click HELP
Date: Fri, 20 Apr 2001 23:36:03 -0400
Message-ID: <MPG.154ab72cfab97cd098a13d@forums.borland.com>
References: <3ae06d0c$1_2@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 987824162 209.92.40.60 (20 Apr 2001 20:36:02 -0700)
Lines: 15
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews