Hi, I don´t get the method getTransferData([..]),
If I drop an String in the area, I can cast it to an String.
If I drop an image "test.png" in the area, I can´t cast the object to an image.
It´s weird because the
1
| syso.(getTransferData([..])) -> [path of the file] |
At the moment I usw the Filereader with
1
| getTransferData([..]).toString |
String:
1
| isDataFlavorSupported(DataFlavor.stringFlavor) |
returns true,
png-file:
In addition
1
| isDataFlavorSupported(DataFlavor.imageFlavor) |
returns false,
I think I misunderstood the method, could someone please explain it

but it would be stupid, if the file is already read and I just don´t get it

EDIT:
Got it, I have to use isDataFlavorSupported(DataFlavor.javaFileListFlavor)
best regs. phibedy