@Override
	public void add(Object obj, DropTargetDropEvent e, DataFlavor f) {
		if (f == DataFlavor.javaFileListFlavor) {
			List<?> files = (java.util.List<?>) obj;
			if (files.size() > 0) {
				File file = (File) files.get(0);
				filenameTextField.setText(file.getAbsolutePath());
				if (listener != null) {
					listener.fileDropped(file);
				}
			}
		}
	}
@see docking.dnd.Droppable#add(java.lang.Object, java.awt.dnd.DropTargetDropEvent, java.awt.datatransfer.DataFlavor)
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooserPanel.java