🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: mouse double click

#15202
From: Marcel van den Dungen
Date: Mon, 05 Jul 1999 00:00
28 lines
1155 bytes
Hi again,

thanks for the answer, but when using it this way a solution to my problem
is not found. the problem is the following
when single click do X
when double click do Y but not X
when using the solution of Jonathan the double click event is caught and Y
is executed, but also X is executed (on the first click of the double
click). can anyone please help me going around execution of X?

thanks in advance
greetings
casper

Jonathan wrote in message <7lg18v$qn20@forums.borland.com>...
>you are on the write track
>
>
>do the following  e= the mouse event
>
>
>
>if (e.getClickCount() ==2){
>
>doSomething();
>}
>
>
Technical Details
Message-ID: <7lpo1t$9b88@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lfo0t$qd3@forums.borland.com> <7lg18v$qn20@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: "Marcel van den Dungen" <info@c-content.nl>
Subject: Re: mouse double click
Date: 1999/07/05
Message-ID: <7lpo1t$9b88@forums.borland.com>
X-Deja-AN: 497296983
References: <7lfo0t$qd3@forums.borland.com> <7lg18v$qn20@forums.borland.com>
Organization: C-CONTENT b.v.
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language