🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: double clicks

#14851
From: Marcel van den Dungen
Date: Thu, 29 Jul 1999 00:00
14 lines
1019 bytes
Leo Cohen wrote:

> For a mouse click event e, I am using e.getClickCount(). No matter how
> fast I double click, this always has the value 1. Is there a setting, a
> property that I don't know about?
> --

I don't know about a particular setting. But when double clicking the
mouse two events are fired after each other, the first has value 1 for
ClickCount and the second time the value for ClickCount should be 2.
Maybe your problem is that you only catch the first event?

Greetings,
Casper
Technical Details
Message-ID: <37A05B94.E0785EBB@c-content.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <379F68DC.4E43720D@cs.virginia.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,df7a7d178f788d0e
X-Google-Attributes: gidf74b3,public
From: Marcel van den Dungen <info@c-content.nl>
Subject: Re: double clicks
Date: 1999/07/29
Message-ID: <37A05B94.E0785EBB@c-content.nl>
X-Deja-AN: 506590560
Content-Transfer-Encoding: 7bit
References: <379F68DC.4E43720D@cs.virginia.edu>
Organization: C-CONTENT b.v.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language