How can I put files Using the jDragAndDrop2 library?
I can't figure out what parameters to use with the SetDragModeAndData sub to put a filepath\name on the DragBoard so that it can be detected by the HasFiles method of the DragBoard or by Windows Explorer.
Sub txtSource_DragDetected(e As MouseEvent)
Dim f As JavaObject
f.InitializeNewInstance("java.io.File",Array(File.Combine(File.DirTemp,"MyFile.txt")))
Dim files As List
files.Initialize
files.Add(f)
DragDrop.SetDragModeAndData(TransferMode.ANY, Array As String("application/x-java-file-list"),Array As Object(files))
Log("DragDetected : Starting drag")
End Sub