Article View: borland.public.jbuilder.java.language
Article #15154Re: mouse double click
From: Jonathan
Date: Thu, 01 Jul 1999 00:00
Date: Thu, 01 Jul 1999 00:00
31 lines
1092 bytes
1092 bytes
you are on the write track
do the following e= the mouse event
if (e.getClickCount() ==2){
doSomething();
}
Marcel van den Dungen wrote in message <7lfo0t$qd3@forums.borland.com>...
>hello
>
>can anyone tell me how i can catch a double click event. right now i'm
using
>a mouselistener for this an use the getClickCount method from the
mouseevent
>class.
>this way a double click can be caught, only a single click is also
generated
>first. can anyone please help me go around this single click event in a
>proper way?
>
>tia
>casper van der tuin
>casper@stack.nl
>
>
Technical Details
Message-ID:
<7lg18v$qn20@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7lfo0t$qd3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,dee1ef6ffa5eefb5 X-Google-Attributes: gidf74b3,public From: "Jonathan" <plaskowj@logica.com> Subject: Re: mouse double click Date: 1999/07/01 Message-ID: <7lg18v$qn20@forums.borland.com> X-Deja-AN: 496049671 References: <7lfo0t$qd3@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language