| MATLAB Central > MATLAB Newsreader > Java drag & drop |
|
|
|
Here are two attempts to implement drop & drag. The second |
|
I must admit I'm just as baffled. It appears that |
|
Dear Yair |
|
I've posted a drag and drop example, but using Activex. |
|
Thanks Raphael. Unfortunately, I need a platform- |
|
I should have added: |
|
"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <fc93qh$d7j$1@fred.mathworks.com>... |
|
There is no workaround that I know of. However, I have not tried this out on the most recent MATLAB versions so it is possible that it has been resolved. |
|
"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <gg1bn6$up$1@fred.mathworks.com>... |
|
Travis |
|
"Travis Perry" <travisjperry@gmail.com> wrote in message <gg46ub$o63$1@fred.mathworks.com>... |
|
> I couldn't pinpoint the exact source of this problem either but do could locate it somewhere within Mathworks DropTargetListener which seems to pass the DropTargetDropEvent (dtde) to the Matlab callback function without accepting the drop before, so dtde.getTransferable() fails. |
|
> I've tried to implement a Matlab-only approach that uses Java, but which does not require compiling a new Java class. I was successful to a point - perhaps others on this thread will have an idea how to proceed: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| undocumented | Yair Altman | 4 Apr, 2009 16:08:17 |
| callback | Dirk Engel | 3 Apr, 2009 10:15:20 |
| drag and drop | Travis Perry | 20 Nov, 2008 12:35:04 |
| dnd drag and dr... | Travis Perry | 18 Nov, 2008 16:55:06 |
| drag drop | Raphael Austin | 11 Sep, 2007 10:25:05 |
| dnd | Raphael Austin | 11 Sep, 2007 10:25:05 |
| activex | Raphael Austin | 11 Sep, 2007 10:25:05 |
| dd | Malcolm Lidierth | 22 Aug, 2007 11:55:06 |
| java | Malcolm Lidierth | 22 Aug, 2007 11:55:05 |
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com