Article View: borland.public.jbuilder.java.swing
Article #8030Re: Programming challenge!
From: John McGrath TeamB
Date: Fri, 10 Nov 2000 07:32
Date: Fri, 10 Nov 2000 07:32
19 lines
1391 bytes
1391 bytes
On Tue, 7 Nov 2000 16:32:42 -0500, Stephen Legge wrote:
> I challenge anyone to implement a program that allows you
> to drag and drop multiple items from one JList to another
> (without getting an annoying circle-with-a-line-through
> it cursor when dropping).
You need to recognize that the drag has entered your DropTarget using
a DropTargetListener, and then in the dragEnter() event, call the
acceptDrag() method on the DropTargetDragEvent.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.147569f8a6313a33989cef@forums.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mailReferences:
<8u9sju$l9n4@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,133fda11b6d1bea0 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2000-11-09 23:33:34 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Programming challenge! Date: Fri, 10 Nov 2000 02:32:14 -0500 Organization: Another Netscape Collabra Server User Lines: 19 Message-ID: <MPG.147569f8a6313a33989cef@forums.borland.com> References: <8u9sju$l9n4@bornews.inprise.com> NNTP-Posting-Host: dslcv1-60.fast.net X-Newsreader: MicroPlanet Gravity v2.30