🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8949

Re: Mouse DoubleClick

#8949
From: Jeroen Zwartepoorte
Date: Wed, 14 Jun 2000 00:00
18 lines
1058 bytes
What are you talking about here?

Do you want to know how to detect a double click?
Use MouseEvent.getClickCount() to retrieve the number of clicks.
Swing does respond to doubleclicks. Try double clicking on a closed JTree
node: the node opens.

Jeroen

"Ralf Berger" <rbr@nexus-ag.de> wrote in message
news:8i80r7$qcq1@bornews.borland.com...
> It seems to be, that Swing does not support mouse double clicks!
> Has anyone a warkaround or any other solution to get a mouse
> double click?
>
> RalfB
>
>
Technical Details
Message-ID: <8i8d9f$945@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8i80r7$qcq1@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c04da364b1fbd020
X-Google-Attributes: gid111d45,public
From: "Jeroen Zwartepoorte" <Jeroen@xs4all.nl>
Subject: Re: Mouse DoubleClick
Date: 2000/06/14
Message-ID: <8i8d9f$945@bornews.borland.com>
X-Deja-AN: 634518142
References: <8i80r7$qcq1@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing