File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes drag & drop issue on Mac Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "drag & drop issue on Mac" Watch "drag & drop issue on Mac" New topic
Author

drag & drop issue on Mac

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

Hi all;

i wrote a transferhandler to drag files from the OS desktop to a JTable in my java application. the code works fine on windows platform but can't have it working for Mac OS

below is the source code of my transfer handler...it seems the problem for Mac OS resides in the line :




this condition seems to fail always for mac as i never get the debug text when i run on mac but the code runs well on win xp.
can someone point me what's the problem.
thanks.

the code :
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: drag & drop issue on Mac
 
Similar Threads
drag & drop issue on Mac
Cannot add an image to JPanel. Nothing works:(
TransferHandler exception for Mac OS
TransferHandler to dnd files from OS desktop to JTable
JTrees Drag and Drop