🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Drag and Drop with JTree

#11260
From: Michael Härtig
Date: Wed, 23 Jun 1999 00:00
28 lines
1610 bytes
Hi,

> try this...it gave me good idea how to start and now I have
> fully working dnd tree..
> 
> http://java.sun.com/products/jfc/tsc/tech_topics/drag_n_drop/dnd.html
 
I know this article. My JTree works but with some problems. If I want to
move a node I don't know the source when the drop event is occured. My
special questions:

What do you use as DragSource, DropTarget and Transferable ????

Michael
-- 
           //// 
          (o o) 
+-----ooO--(_)--Ooo---------------------------------------+ 
|                                                         | 
| Michael H�rtig                 Neumann & Partner        | 
|                                Informationssysteme GmbH | 
| Softwareentwicklung            An der Hohen Stra�e 1    | 
|                                08393 Meerane            | 
|                                                         | 
+------------Oooo-----------------------------------------+ 
        oooO (  ) 
        (  )  (_) 
         (_)
Technical Details
Message-ID: <3770C8DB.A9729610@nupis.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37708399.D0BF1302@nupis.de> <3770C008.65FB5224@terren.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,1c7fb14111a287c1
X-Google-Attributes: gid111d45,public
From: Michael Härtig <haertig@nupis.de>
Subject: Re: Drag and Drop with JTree
Date: 1999/06/23
Message-ID: <3770C8DB.A9729610@nupis.de>
X-Deja-AN: 492904300
Content-Transfer-Encoding: 8bit
References: <37708399.D0BF1302@nupis.de> <3770C008.65FB5224@terren.com>
X-Accept-Language: de
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing