Article View: borland.public.jbuilder.java.swing
Article #8336Multi-select in a JList?
From: Stephen Legge
Date: Thu, 21 Sep 2000 00:00
Date: Thu, 21 Sep 2000 00:00
15 lines
989 bytes
989 bytes
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:
<8qdvs1$m6411@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a95fa61ec23d2454,start X-Google-Attributes: gid111d45,public From: "Stephen Legge" <stephen@cryptocard.com> Subject: Multi-select in a JList? Date: 2000/09/21 Message-ID: <8qdvs1$m6411@bornews.borland.com> X-Deja-AN: 672629279 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