🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Multi-select in a JList?

#8341
From: amit parikh
Date: Fri, 22 Sep 2000 00:00
24 lines
1171 bytes
amit test
"Stephen Legge" <stephen@cryptocard.com> wrote in message
news:8qdvs1$m6411@bornews.borland.com...
> Hi,
>
> I've implemented a drag-and-drop between a JList and a JTree, and it works
> fine with a single item.
>
> I have multi-select working fine in the JList.  But you can't
drag-and-drop
> more than one item because when you press the mouse to begin dragging,
only
> that item becomes selected.
>
> It seems I have to somehow override the mousePressed when multiple items
are
> selected so all can be dragged.
>
> Does anyone know how I can start this?
>
> Stephen Legge
> Stephen@Cryptocard.com
>
>
Technical Details
Message-ID: <39cb249c_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8qdvs1$m6411@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a95fa61ec23d2454
X-Google-Attributes: gid111d45,public
From: "amit parikh" <amit_parikh_29@hotmail.com>
Subject: Re: Multi-select in a JList?
Date: 2000/09/22
Message-ID: <39cb249c_2@dnews>
X-Deja-AN: 672791525
References: <8qdvs1$m6411@bornews.borland.com>
X-Trace: 22 Sep 2000 02:21:32 -0800, 203.199.65.149
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700