Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Java drag & drop
Date: Tue, 18 Nov 2008 21:54:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gfvdhq$13l$1@fred.mathworks.com>
References: <fahm1i$5e7$1@fred.mathworks.com> <fc6889$n5i$1@fred.mathworks.com> <fc91jd$2uu$1@fred.mathworks.com> <fc93qh$d7j$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1227045242 1141 172.30.248.37 (18 Nov 2008 21:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 18 Nov 2008 21:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1606914
Xref: news.mathworks.com comp.soft-sys.matlab:501585


"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <fc93qh$d7j$1@fred.mathworks.com>...
> 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()

Did this issue ever get resolved?  I am having the same trouble calling getTransferable().  What was the workaround that you used?  I need to access the file name and path of the file being dropped.  Is there another way to do this?