🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Drag & Drop

#9182
From: Joe Dorman
Date: Wed, 10 May 2000 00:00
27 lines
1553 bytes
Paul, here are some links that I used to learn how to do this...

http://web2.java.sun.com/products/jfc/tsc/articles/dragndrop/index.html

http://www.javaworld.com/javaworld/jw-03-1999/jw-03-dragndrop.html
http://www.javaworld.com/javaworld/jw-08-1999/jw-08-draganddrop.html
http://java.miningco.com/compute/java/library/weekly/aa011299.htm

http://developer.java.sun.com/developer/Books/MasteringJava/Ch16/index.html

"Paul Gostelow" <Paul.gostelow@cableinet.co.uk> wrote in message
news:3909647f@dnews...
> I have an application that has a JSplitPane.  In the left pane is a JTree
> and the right a number of Components.  What I need to do is be able to
drag
> nodes from the JTree and drop them on to the Components and vice-versa.
The
> data being moved are not simple text values but objects.
>
> Can anyone point me to relevant examples or resources that may get me
> started?
>
> I have checked out the tutorials on the java.sun.com website and found a
> couple of simple examples that relate to moving text around but nothing to
> do with objects.
>
>
Technical Details
Message-ID: <8fbosf$1r310@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3909647f@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f848305d19c5f40f
X-Google-Attributes: gid111d45,public
From: "Joe Dorman" <dorman@texoma.net>
Subject: Re: Drag & Drop
Date: 2000/05/10
Message-ID: <8fbosf$1r310@bornews.borland.com>
X-Deja-AN: 621570469
References: <3909647f@dnews>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Newsgroups: borland.public.jbuilder.java.swing