private void setupDragAndDrop() {
		acceptableFlavors = new DataFlavor[] { DataFlavor.javaFileListFlavor, };

		// set up drop stuff
		dropTargetAdapter =
			new DropTgtAdapter(this, DnDConstants.ACTION_COPY_OR_MOVE, acceptableFlavors);
		dropTarget = new DropTarget(filenameTextField, DnDConstants.ACTION_COPY_OR_MOVE,
			dropTargetAdapter, true);
		dropTarget.setActive(true);
	}
Sets the <code>GhidraFileChooser</code> to allow the user to just
select files, just select
directories, or select both files and directories.  The default is
<code>GhidraFileChooserMode.FILES_ONLY</code>.

@param mode the type of files to be displayed
@exception IllegalArgumentException  if <code>mode</code> is an
				illegal Dialog mode
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooserPanel.java