This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | When you drag and drop files from the Projects window, they should export DataFlavor.javaFileListFlavor | ||
---|---|---|---|
Product: | platform | Reporter: | kitfox <kitfox> |
Component: | Data Systems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
kitfox
2014-03-07 02:22:35 UTC
I can reproduce the bug. Method isDataFlavorSupported returns true for DataFlavor.javaFileListFlavor when pasting a file from NetBeans to my application, but getTransferData(DataFlavor.javaFileListFlavor) returns null. Data flavor javaFileListFlavor is added to the transferable in method DataNode.addExternalFileTransferable(), but retrieving of the data value in the second application is broken. I'm not sure whether this is a bug in NetBeans or in JDK. It'll require deeper investigation. Thank you for reporting. Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Mac OS X version 10.10.5 running on x86_64; UTF-8; en_US (nb) |