public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
   if (flavor.equals(DEFAULT_MUTABLE_TREENODE_FLAVOR)) {
     //        System.out.println("my getTransferData invoked");
     return data;
   } else {
     throw new UnsupportedFlavorException(flavor);
   }
 }
 public boolean isDataFlavorSupported(DataFlavor flavor) {
   for (int i = 0; i < flavors.length; i++) if (flavor.equals(flavors[i])) return true;
   return false;
 }