Transfer the data. Given a specified DataFlavor, return an Object
appropriate for that flavor. Throw UnsupportedFlavorException if we
don't support the requested flavor.
if (flavor.equals(colorFlavor)) return color;
else if (flavor.equals(DataFlavor.stringFlavor)) return color.toString();
else if (flavor.equals(DataFlavor.plainTextFlavor))
return new ByteArrayInputStream(color.toString().getBytes("Unicode"));
else throw new UnsupportedFlavorException(flavor);