if (!flavor.equals(flavors[0])) throw new IllegalArgumentException("Illegal DataFlavor"); return theData; }
if (!flavor.equals(flavors[0])) throw new IllegalArgumentException("Illegal DataFlavor"); if (flavor.equals(folderFlavor) || flavor.equals(experimentFlavor)) return theData; else return ((DefaultMutableTreeNode)theData).getUserObject(); }
        public Object getTransferData(DataFlavor flavor) {            if (!flavor.equals(flavors[0]))                throw new IllegalArgumentException("Illegal DataFlavor");            return theData;        }