Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Java drag & drop
Date: Wed, 12 Sep 2007 16:23:45 +0000 (UTC)
Organization: King's College London
Lines: 7
Message-ID: <fc93qh$d7j$1@fred.mathworks.com>
References: <fahm1i$5e7$1@fred.mathworks.com> <fc6889$n5i$1@fred.mathworks.com> <fc91jd$2uu$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1189614225 13555 172.30.248.35 (12 Sep 2007 16:23:45 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 12 Sep 2007 16:23:45 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:428111



I should have added:

dnd=java.awt.dnd.DropTarget();
dnd=handle(dnd,'callbackProperties')

at least lets you get(hObject) in the callback as long as 
you do not call hObject.getTransferable()