🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2701

Re: mouse motion with drag 'n drop

#2701
From: John P. McGrath
Date: Fri, 09 Jun 2000 00:00
18 lines
1445 bytes
On Thu, 08 Jun 2000 10:16:36 -0500, Joe Fessler wrote:

> That's it exactly... the extended JButton contains a myObject
> and using dnd, I'm transferring it (myObject) from one button
> to another.  myObject is a JavaBean, but not a component in the
> sense that it inherits from a java Component.  Now the extended
> JButton is obviously a C/component and they need to be capable
> of being repositioned on the JPanel by the user.

I am beginning to understand.  The problem is that the same gesture (in 
DnD terminology) is initiating both the move button code and the drag-
and-drop transfer of the transferrable object.  What gesture are you 
trying to use for each operation?

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.13aa425b296d87de9899aa@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <393BC100.87AF3EB7@idir.net> <MPG.13a63b62a555a9e989990@forums.borland.com> <393D290C.ED9F9FC7@idir.net> <MPG.13a78d40c337c857989996@forums.borland.com> <393EA00B.15A48652@idir.net> <MPG.13a8d828c4806f119899a0@forums.borland.com> <393FB8D4.6C3B47E0@idir.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,7648534fe4fd6be3
X-Google-Attributes: gid1089d0,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: mouse motion with drag 'n drop
Date: 2000/06/09
Message-ID: <MPG.13aa425b296d87de9899aa@forums.borland.com>
X-Deja-AN: 632964220
References: <393BC100.87AF3EB7@idir.net> <MPG.13a63b62a555a9e989990@forums.borland.com> <393D290C.ED9F9FC7@idir.net> <MPG.13a78d40c337c857989996@forums.borland.com> <393EA00B.15A48652@idir.net> <MPG.13a8d828c4806f119899a0@forums.borland.com> <393FB8D4.6C3B47E0@idir.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api