🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: mouse motion with drag 'n drop

#2694
From: Joe Fessler
Date: Wed, 07 Jun 2000 00:00
19 lines
1617 bytes
"John P. McGrath" wrote:

>
> > Yet, how to determine the intent of the user - transfer the
> > object vs. repositioning of the component.
>
> I am not sure that I understand the distinction you are making.  Isn't
> moving the object just a degenerate case of transferring it?
I guess it is kind of a picky distinction, but when the object is being
transferred, the containing JButton need not be repositioned; whereas if
the intent is to move the containing JButton, then it obviously should
reposition relative to it's old spot in the JPanel.  Basically in one case
a swing component is being moved around on the screen and in the other,
something contained _in_ the component is being moved.  As a further
analogy, it's as  when using JBuilder's GUI designer, you can click and
drag a component to a new x,y coordinate - as opposed to clicking and
dragging the String object representing the text of the component.

-J
Technical Details
Message-ID: <393EA00B.15A48652@idir.net>
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>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,7648534fe4fd6be3
X-Google-Attributes: gid1089d0,public
From: Joe Fessler <jfessler@idir.net>
Subject: Re: mouse motion with drag 'n drop
Date: 2000/06/07
Message-ID: <393EA00B.15A48652@idir.net>
X-Deja-AN: 632290179
Content-Transfer-Encoding: 7bit
References: <393BC100.87AF3EB7@idir.net> <MPG.13a63b62a555a9e989990@forums.borland.com> <393D290C.ED9F9FC7@idir.net> <MPG.13a78d40c337c857989996@forums.borland.com>
X-Accept-Language: en,pdf
Content-Type: text/plain; charset=us-ascii
X-Trace: 7 Jun 2000 12:15:49 -0800, 209.172.222.86
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api