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

[DOC] DataFormat needs clarification about accepted format values

XMLWordPrintable

      This tweak is a follow-up for RT-28463, which is closed as not an issue. It turned out that JavaFX and AWT/Swing have different requirements about DataFormat/DataFlavor values. For example, "application/MyFormat" is accepted by both DataFormat and DataFlavor, while "MyFormat" is only valid for DataFormat. In general, it doesn't cause any troubles, but sometimes it does, for example, on drag-n-drop between Swing and FX/JFXPanel, when conversion DataFormat <-> DataFlavor is performed.

      We don't want to eliminate this difference, but it should be documented somewhere, so application developers can be aware of potential problems.

            psafrata Pavel Ĺ afrata
            art Artem Ananiev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: