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

[DOC] DataFormat needs clarification about accepted format values

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psafrata Pavel Ĺ afrata
                Reporter:
                art Artem Ananiev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: