Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4030696

getTransferData() doesn't seem to be called from/for obj implem'ing Transferable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1
    • client-libs
    • x86
    • windows_95

      orig synopsis:
      "from a Transformable [sic] object, getTransferData() does not seem to be called"


      Name: mc57594 Date: 02/06/97


      public Object getTransferData(DataFlavor flavor)
      throws UnsupportedFlavorException, IOException {
      System.out.println("ok.");
      if (flavor.equals(flavors[STRING])) {
      String s = myBlock.thePoly.toString();
      System.out.println(myBlock.thePoly.toString());
      return (Object)s;
      } else {
      throw new UnsupportedFlavorException(flavor);
      }
      }

      company - Fractals sprl , email - ###@###.###
      ======================================================================

            lbunnisunw Lara Bunni (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: